diff --git a/src/components/home/contentAuth.vue b/src/components/home/contentAuth.vue index 2918915b4..8366e5d0f 100644 --- a/src/components/home/contentAuth.vue +++ b/src/components/home/contentAuth.vue @@ -20,6 +20,8 @@ > + + @@ -43,10 +45,11 @@ import {mapState} from 'vuex' import {CURRENT_LIST, KEYBOARD_SHORTCUTS_ACTIVE, MENU_ACTIVE} from '@/store/mutation-types' import Navigation from '@/components/home/navigation' +import QuickActions from '@/components/quick-actions/quick-actions' export default { name: 'contentAuth', - components: {Navigation}, + components: {QuickActions, Navigation}, watch: { '$route': 'doStuffAfterRoute', }, diff --git a/src/components/quick-actions/quick-actions.vue b/src/components/quick-actions/quick-actions.vue new file mode 100644 index 000000000..f07eaa057 --- /dev/null +++ b/src/components/quick-actions/quick-actions.vue @@ -0,0 +1,53 @@ + + + diff --git a/src/store/index.js b/src/store/index.js index 46a88ca06..4cc6eaab0 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -8,7 +8,7 @@ import { LOADING, LOADING_MODULE, MENU_ACTIVE, - ONLINE, + ONLINE, QUICK_ACTIONS_ACTIVE, } from './mutation-types' import config from './modules/config' import auth from './modules/auth' @@ -44,6 +44,7 @@ export const store = new Vuex.Store({ hasTasks: false, menuActive: true, keyboardShortcutsActive: false, + quickActionsActive: false, }, mutations: { [LOADING](state, loading) { @@ -127,5 +128,8 @@ export const store = new Vuex.Store({ [KEYBOARD_SHORTCUTS_ACTIVE](state, active) { state.keyboardShortcutsActive = active }, + [QUICK_ACTIONS_ACTIVE](state, active) { + state.quickActionsActive = active + }, }, }) \ No newline at end of file diff --git a/src/store/mutation-types.js b/src/store/mutation-types.js index 4a9043c59..9c6381d24 100644 --- a/src/store/mutation-types.js +++ b/src/store/mutation-types.js @@ -6,6 +6,7 @@ export const CURRENT_LIST = 'currentList' export const HAS_TASKS = 'hasTasks' export const MENU_ACTIVE = 'menuActive' export const KEYBOARD_SHORTCUTS_ACTIVE = 'keyboardShortcutsActive' +export const QUICK_ACTIONS_ACTIVE = 'quickActionsActive' export const CONFIG = 'config' export const AUTH = 'auth'