Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-08-19 16:30:18 +0300
committerCarl Schwan <carl@carlschwan.eu>2021-08-19 16:34:04 +0300
commita0cb1a9d68857804c1268c4df4cfb3174a0f9f72 (patch)
tree477fe3596a748bab3df0ba5053efa67c64dccdf9
parent59c7b53588554e6e5cbcaec3f89e6a54544c6131 (diff)
Load groupfolders-files.js instead of files.jsonwork/load-correct-script
It seems that webpack now generates groupfolders-files.js instead of files.js so the previous generated link was 404 and the group folder icons was wrong. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-rw-r--r--lib/Listeners/LoadAdditionalScriptsListener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Listeners/LoadAdditionalScriptsListener.php b/lib/Listeners/LoadAdditionalScriptsListener.php
index 31c10a50..5aff9f0e 100644
--- a/lib/Listeners/LoadAdditionalScriptsListener.php
+++ b/lib/Listeners/LoadAdditionalScriptsListener.php
@@ -31,6 +31,6 @@ use OCP\EventDispatcher\IEventListener;
class LoadAdditionalScriptsListener implements IEventListener {
public function handle(Event $event): void {
- \OCP\Util::addScript('groupfolders', 'files');
+ \OCP\Util::addScript('groupfolders', 'groupfolders-files');
}
}