backports murph-skeleton

This commit is contained in:
Simon Vieille 2021-06-15 14:30:14 +02:00
parent 23ebe74102
commit b435bcc24f
1 changed files with 2 additions and 1 deletions

View File

@ -171,6 +171,8 @@ import FileIcon from './FileIcon'
const axios = require('axios').default
const routes = require('../../../../../public/js/fos_js_routes.json')
Routing.setRoutingData(routes)
export default {
name: 'Files',
components: {
@ -240,7 +242,6 @@ export default {
}
},
mounted () {
Routing.setRoutingData(routes)
const view = localStorage.getItem('file-manager.view')
if (['grid', 'list'].indexOf(view) !== -1) {