Przeglądaj źródła

Correctif addWebpackEncore

tags/0.1^0
Fab 3 lat temu
rodzic
commit
7ef52b6e69
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -1
      Field/FileManagerField.php
  2. +1
    -1
      Field/ImageManagerField.php

+ 1
- 1
Field/FileManagerField.php Wyświetl plik

@@ -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 Wyświetl plik

@@ -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')

Ładowanie…
Anuluj
Zapisz