Skip to content

Commit 6cc228d

Browse files
authored
fix(core): unsupported browser getRootUrl import
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
1 parent 6201ada commit 6cc228d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

core/src/views/UnsupportedBrowser.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@
3131
</template>
3232

3333
<script>
34-
import { generateUrl } from '@nextcloud/router'
34+
// eslint-disable-next-line n/no-extraneous-import
35+
import { agents } from 'caniuse-lite/dist/unpacker/agents.js'
36+
import { generateUrl, getRootUrl } from '@nextcloud/router'
3537
import { translate as t, translatePlural as n } from '@nextcloud/l10n'
38+
3639
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
3740
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
3841
import Web from 'vue-material-design-icons/Web.vue'
39-
// eslint-disable-next-line n/no-extraneous-import
40-
import { agents } from 'caniuse-lite/dist/unpacker/agents.js'
4142
4243
import { browserStorageKey } from '../utils/RedirectUnsupportedBrowsers.js'
4344
import { supportedBrowsers } from '../services/BrowsersListService.js'

0 commit comments

Comments
 (0)