summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-05-31 09:57:26 +0200
committernextcloud-command <nextcloud-command@users.noreply.github.com>2024-06-04 13:27:16 +0000
commit490a4ff3ab4f9493e0910819a6c0427045c440dc (patch)
treef80e337861cf79f6ccd2b4d16eed6a8d9a764dc7 /core/src
parentc0f0ec4693afc736137d5ae66893fd90416adb11 (diff)
downloadnextcloud-server-490a4ff3ab4f9493e0910819a6c0427045c440dc.tar.gz
nextcloud-server-490a4ff3ab4f9493e0910819a6c0427045c440dc.zip
fix(core): unsupported browser `getRootUrl` import
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/views/UnsupportedBrowser.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/src/views/UnsupportedBrowser.vue b/core/src/views/UnsupportedBrowser.vue
index 94b0e0a25ec..b27d85e4326 100644
--- a/core/src/views/UnsupportedBrowser.vue
+++ b/core/src/views/UnsupportedBrowser.vue
@@ -48,8 +48,11 @@
</template>
<script>
-import { generateUrl } from '@nextcloud/router'
+// eslint-disable-next-line n/no-extraneous-import
+import { agents } from 'caniuse-lite/dist/unpacker/agents.js'
+import { generateUrl, getRootUrl } from '@nextcloud/router'
import { translate as t, translatePlural as n } from '@nextcloud/l10n'
+
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import Web from 'vue-material-design-icons/Web.vue'