summaryrefslogtreecommitdiffstats
path: root/apps/theming/src/helpers
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-09-24 00:02:50 +0000
committerChristopher Ng <chrng8@gmail.com>2022-09-28 17:12:56 +0000
commit295d03869eabcb67bddf14dbde09b36c2e291a18 (patch)
tree2fd3bbe9b080b2a7df031a6e808096339a554bc8 /apps/theming/src/helpers
parentf6f0195a3f6643db871f9b857de5e6864a800863 (diff)
downloadnextcloud-server-295d03869eabcb67bddf14dbde09b36c2e291a18.tar.gz
nextcloud-server-295d03869eabcb67bddf14dbde09b36c2e291a18.zip
Fix various theming bugs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/theming/src/helpers')
-rw-r--r--apps/theming/src/helpers/getBackgroundUrl.js2
-rw-r--r--apps/theming/src/helpers/prefixWithBaseUrl.js2
2 files changed, 0 insertions, 4 deletions
diff --git a/apps/theming/src/helpers/getBackgroundUrl.js b/apps/theming/src/helpers/getBackgroundUrl.js
index 2e0088f6d30..88a3ab57291 100644
--- a/apps/theming/src/helpers/getBackgroundUrl.js
+++ b/apps/theming/src/helpers/getBackgroundUrl.js
@@ -22,8 +22,6 @@
*
*/
-// FIXME hoist this into a package? The same logic is used in `apps/dashboard/src/helpers/getBackgroundUrl.js`
-
import { generateUrl } from '@nextcloud/router'
import { prefixWithBaseUrl } from './prefixWithBaseUrl.js'
diff --git a/apps/theming/src/helpers/prefixWithBaseUrl.js b/apps/theming/src/helpers/prefixWithBaseUrl.js
index 07e4986593c..d2f42c93549 100644
--- a/apps/theming/src/helpers/prefixWithBaseUrl.js
+++ b/apps/theming/src/helpers/prefixWithBaseUrl.js
@@ -20,8 +20,6 @@
*
*/
-// FIXME hoist this into a package? The same logic is used in `apps/dashboard/src/helpers/prefixWithBaseUrl.js`
-
import { generateFilePath } from '@nextcloud/router'
export const prefixWithBaseUrl = (url) => generateFilePath('theming', '', 'img/background/') + url