Ver código fonte

Correctif addWebpackEncore

tags/0.1^0
Fab 3 anos atrás
pai
commit
7ef52b6e69
2 arquivos alterados com 2 adições e 2 exclusões
  1. +1
    -1
      Field/FileManagerField.php
  2. +1
    -1
      Field/ImageManagerField.php

+ 1
- 1
Field/FileManagerField.php Ver arquivo

@@ -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 Ver arquivo

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

Carregando…
Cancelar
Salvar