rename Logo component and remove Loader component
add licence
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
<!--
|
||||
@license GNU AGPL version 3 or any later version
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<template>
|
||||
<template v-if="display && hasApps">
|
||||
<PageLoader v-if="hasPageLoader" />
|
||||
|
||||
@@ -37,8 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
<div class="side-menu-categories-wrapper">
|
||||
<div class="side-menu-categories">
|
||||
<Loader v-if="!items.length" />
|
||||
|
||||
<template
|
||||
v-for="(category, key) in items"
|
||||
:key="key"
|
||||
@@ -86,7 +84,6 @@ import { containsAppsMatchingSearch, isAppMatchingSearch } from '../lib/search.j
|
||||
|
||||
import OpenerButton from '../components/OpenerButton'
|
||||
import SettingsButton from '../components/SettingsButton'
|
||||
import Loader from '../components/Loader'
|
||||
import AppSearch from '../components/AppSearch'
|
||||
import SideMenuBigApp from '../components/SideMenuBigApp'
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
v-if="!openerHover || isTouchDevice"
|
||||
@click="$emit('toggle')"
|
||||
/>
|
||||
<Logo
|
||||
<MenuLogo
|
||||
v-if="displayLogo"
|
||||
:classes="{ 'side-menu-logo': true, avatardiv: false }"
|
||||
:image="useAvatarAsLogo ? avatar : logo"
|
||||
@@ -79,7 +79,7 @@ import OpenerButton from '../components/OpenerButton'
|
||||
import SettingsButton from '../components/SettingsButton'
|
||||
import SideMenuApp from '../components/SideMenuApp'
|
||||
import AppSearch from '../components/AppSearch'
|
||||
import Logo from '../components/Logo'
|
||||
import MenuLogo from '../components/MenuLogo'
|
||||
|
||||
const { open } = defineProps({
|
||||
open: {
|
||||
|
||||
@@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
<div class="side-menu-categories-wrapper">
|
||||
<div class="side-menu-categories">
|
||||
<Loader v-if="!items.length" />
|
||||
|
||||
<template
|
||||
v-for="(category, key) in items"
|
||||
:key="key"
|
||||
@@ -91,7 +89,6 @@ import { containsAppsMatchingSearch, isAppMatchingSearch } from '../lib/search.j
|
||||
import OpenerButton from '../components/OpenerButton'
|
||||
import CloserButton from '../components/CloserButton'
|
||||
import SettingsButton from '../components/SettingsButton'
|
||||
import Loader from '../components/Loader'
|
||||
import AppSearch from '../components/AppSearch'
|
||||
import SideMenuBigApp from '../components/SideMenuBigApp'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user