diff --git a/src/components/AppSidebar/AppSidebar.vue b/src/components/AppSidebar/AppSidebar.vue index 039ff6a92c..b1171bd860 100644 --- a/src/components/AppSidebar/AppSidebar.vue +++ b/src/components/AppSidebar/AppSidebar.vue @@ -218,9 +218,14 @@ - + + + @@ -231,6 +236,7 @@ import Focus from '../../directives/Focus' import Linkify from '../../directives/Linkify' import l10n from '../../mixins/l10n' import AppSidebarTabs from './AppSidebarTabs' +import EmptyContent from '../EmptyContent/EmptyContent' import { directive as ClickOutside } from 'v-click-outside' export default { @@ -239,6 +245,7 @@ export default { components: { Actions, AppSidebarTabs, + EmptyContent, }, directives: { @@ -300,6 +307,13 @@ export default { type: Boolean, default: false, }, + /** + * Show loading spinner instead of tabs + */ + loading: { + type: Boolean, + default: false, + }, /** * Display the sidebar in compact mode diff --git a/src/components/AppSidebar/AppSidebarTabs.vue b/src/components/AppSidebar/AppSidebarTabs.vue index 785fa5f59c..1ec78b5211 100644 --- a/src/components/AppSidebar/AppSidebarTabs.vue +++ b/src/components/AppSidebar/AppSidebarTabs.vue @@ -54,7 +54,7 @@
- +
diff --git a/src/components/AppSidebarTab/AppSidebarTab.vue b/src/components/AppSidebarTab/AppSidebarTab.vue index ae61224ec7..32cf43a0bd 100644 --- a/src/components/AppSidebarTab/AppSidebarTab.vue +++ b/src/components/AppSidebarTab/AppSidebarTab.vue @@ -24,10 +24,12 @@ https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-1/tabs.html -->