vue frontend update

This commit is contained in:
carodej
2020-04-17 11:33:06 +02:00
parent ae4353cc4b
commit 506c39896a
45 changed files with 2366 additions and 784 deletions

View File

@@ -1,7 +1,8 @@
import axios from 'axios'
import {events} from '@/bus'
import i18n from '@/i18n/index.js'
import router from '@/router'
import { includes } from 'lodash'
import i18n from '@/i18n/index.js'
const defaultState = {
fileInfoPanelVisible: localStorage.getItem('file_info_visibility') == 'true' || false,
@@ -23,7 +24,7 @@ const actions = {
events.$emit('show:content')
// Go to files view
if (router.currentRoute.name !== 'Files') {
if ( ! includes(['Files', 'SharedContent'], router.currentRoute.name) ) {
router.push({name: 'Files'})
}