Skip to content

Commit

Permalink
[MS] Removed show/hide button for client area sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
Ironicbay committed Nov 29, 2024
1 parent f9f175c commit 7dc209a
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions client/src/views/client-area/ClientAreaHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,6 @@

<template>
<div class="header-content">
<ion-button
v-if="!isMobile()"
slot="icon-only"
id="trigger-toggle-menu-button"
class="topbar-button__item menu-button"
fill="clear"
@click="isSidebarMenuVisible() ? hideSidebarMenu() : resetSidebarMenu()"
>
<ion-icon
slot="icon-only"
:icon="menu"
/>
</ion-button>
<ion-title class="header-title title-h1">{{ $msTranslate(title) }}</ion-title>

<div class="header-right">
Expand Down Expand Up @@ -46,18 +33,14 @@

<script setup lang="ts">
import { BmsAccessInstance, PersonalInformationResultData } from '@/services/bms';
import { IonText, IonTitle, IonIcon, IonButton } from '@ionic/vue';
import { IonText, IonTitle, IonIcon } from '@ionic/vue';
import { Translatable } from 'megashark-lib';
import { onMounted, ref } from 'vue';
import { cog, menu } from 'ionicons/icons';
import { cog } from 'ionicons/icons';
import UserAvatarName from '@/components/users/UserAvatarName.vue';
import { isMobile } from '@/parsec';
import useSidebarMenu from '@/services/sidebarMenu';
import { ClientAreaPages } from '@/views/client-area/types';
import { openSettingsModal } from '@/views/settings';
const { isVisible: isSidebarMenuVisible, reset: resetSidebarMenu, hide: hideSidebarMenu } = useSidebarMenu();
defineProps<{
title: Translatable;
}>();
Expand Down Expand Up @@ -112,8 +95,4 @@ function getUserName(): string {
align-items: center;
gap: 1rem;
}
.menu-button {
margin-right: 1rem;
}
</style>

0 comments on commit 7dc209a

Please sign in to comment.