Pārlūkot izejas kodu

Correctif addWebpackEncore

tags/0.1^0
Fab pirms 3 gadiem
vecāks
revīzija
7ef52b6e69
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +1
    -1
      Field/FileManagerField.php
  2. +1
    -1
      Field/ImageManagerField.php

+ 1
- 1
Field/FileManagerField.php Parādīt failu

@@ -23,7 +23,7 @@ final class FileManagerField implements FieldInterface
->setProperty($propertyName)
->setLabel($label)
->setTemplatePath('@LcSov/adminlte/crud/field/file.html.twig')
/*->addWebpackEncoreEntries('adminlte-field-filemanager')*/
//->addWebpackEncoreEntries('adminlte-field-filemanager')
->setCustomOption('managerDir', 'file')
->setCustomOption('type', 'file')
->setFormType(FileManagerType::class)

+ 1
- 1
Field/ImageManagerField.php Parādīt failu

@@ -23,7 +23,7 @@ final class ImageManagerField implements FieldInterface
->setProperty($propertyName)
->setLabel($label)
->setTemplatePath('@LcSov/adminlte/crud/field/image.html.twig')
->addWebpackEncoreEntries('adminlte-field-filemanager')
//->addWebpackEncoreEntries('adminlte-field-filemanager')
->setFormType(FileManagerType::class)
->setCustomOption('managerDir', 'image')
->setCustomOption('type', 'image')

Notiek ielāde…
Atcelt
Saglabāt