summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-12-02 00:08:08 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-08 10:11:58 +0100
commitb664aad7abdca5327684b1218ac78fa172f8acb3 (patch)
tree0c1b04c2f8d3cf9b68d82e430f4754ff523a5f71 /apps/files
parent8ee7c20e4d634f85a9b481b4a829cc65e277bc69 (diff)
downloadnextcloud-server-b664aad7abdca5327684b1218ac78fa172f8acb3.tar.gz
nextcloud-server-b664aad7abdca5327684b1218ac78fa172f8acb3.zip
Move bundles to /dist
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/lib/Controller/ViewController.php4
-rw-r--r--apps/files/lib/Listener/LoadSidebarListener.php2
-rw-r--r--apps/files/src/main.js3
-rw-r--r--apps/files/templates/settings-personal.php2
4 files changed, 5 insertions, 6 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php
index 06a6253adef..bba8660399c 100644
--- a/apps/files/lib/Controller/ViewController.php
+++ b/apps/files/lib/Controller/ViewController.php
@@ -197,7 +197,9 @@ class ViewController extends Controller {
// Load the files we need
\OCP\Util::addStyle('files', 'merged');
\OCP\Util::addScript('files', 'merged-index');
- \OCP\Util::addScript('files', 'dist/main');
+ \OCP\Util::addScript('files', 'templates');
+ \OCP\Util::addScript('files', 'files-app-settings');
+ \OCP\Util::addScript('files', 'legacy-filelist-search');
// mostly for the home storage's free space
// FIXME: Make non static
diff --git a/apps/files/lib/Listener/LoadSidebarListener.php b/apps/files/lib/Listener/LoadSidebarListener.php
index aa24538c2ee..15f24279e0a 100644
--- a/apps/files/lib/Listener/LoadSidebarListener.php
+++ b/apps/files/lib/Listener/LoadSidebarListener.php
@@ -37,7 +37,7 @@ class LoadSidebarListener implements IEventListener {
return;
}
- Util::addScript(Application::APP_ID, 'dist/sidebar');
+ Util::addScript(Application::APP_ID, 'sidebar');
// needed by the Sidebar legacy tabs
// TODO: remove when all tabs migrated to the new api
Util::addScript('files', 'fileinfomodel');
diff --git a/apps/files/src/main.js b/apps/files/src/main.js
deleted file mode 100644
index a979822bdc4..00000000000
--- a/apps/files/src/main.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import './files-app-settings'
-import './templates'
-import './legacy/filelistSearch'
diff --git a/apps/files/templates/settings-personal.php b/apps/files/templates/settings-personal.php
index 1cddae3d33d..7aefb470cd6 100644
--- a/apps/files/templates/settings-personal.php
+++ b/apps/files/templates/settings-personal.php
@@ -22,7 +22,7 @@
*/
-script(\OCA\Files\AppInfo\Application::APP_ID, 'dist/personal-settings');
+script(\OCA\Files\AppInfo\Application::APP_ID, 'personal-settings');
?>
<div id="files-personal-settings" class="section">