Fix flow.js script name

fixes #2058

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2023-08-16 16:24:45 +02:00
parent b6f7a45393
commit 6257052c70
1 changed files with 2 additions and 2 deletions

View File

@ -74,12 +74,12 @@ class CreateBookmark implements IOperation {
$dispatcher->addListener(RegisterOperationsEvent::class, static function (RegisterOperationsEvent $event) {
$operation = OC::$server->query(CreateBookmark::class);
$event->registerOperation($operation);
Util::addScript('bookmarks', 'flow');
Util::addScript('bookmarks', 'bookmarks-flow');
});
$dispatcher->addListener(RegisterEntitiesEvent::class, static function (RegisterEntitiesEvent $event) {
$entity = OC::$server->query(Bookmark::class);
$event->registerEntity($entity);
Util::addScript('bookmarks', 'flow');
Util::addScript('bookmarks', 'bookmarks-flow');
});
}
}