Skip to content

Commit 7177e62

Browse files
committed
Revert "code cleanup"
This reverts commit 17e9cd0.
1 parent 39768bb commit 7177e62

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

frontend/src/components/PageHeader.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!-- Mobile: Toggle(User Options) -->
1010
<div class="flex ff-mobile-navigation-right">
1111
<NotificationsButton class="ff-header--mobile-notificationstoggle" :class="{'active': mobileTeamSelectionOpen}" />
12-
<i v-if="!hasAvailableTeams" class="ff-header--mobile-usertoggle" :class="{'active': mobileTeamSelectionOpen}">
12+
<i v-if="teams.length > 0" class="ff-header--mobile-usertoggle" :class="{'active': mobileTeamSelectionOpen}">
1313
<img :src="team.avatar" class="ff-avatar" @click="mobileTeamSelectionOpen = !mobileTeamSelectionOpen">
1414
</i>
1515
<i class="ff-header--mobile-usertoggle" :class="{'active': mobileUserOptionsOpen}">
@@ -91,7 +91,7 @@ export default {
9191
mixins: [navigationMixin, permissionsMixin],
9292
computed: {
9393
...mapState('account', ['user', 'team', 'teams']),
94-
...mapGetters('account', ['notifications', 'hasAvailableTeams']),
94+
...mapGetters('account', ['notifications']),
9595
navigationOptions () {
9696
return [
9797
{

frontend/src/stylesheets/layouts.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ $nav_height: 60px;
406406
}
407407
}
408408
.ff-dropdown {
409+
//display: none;
409410
height: calc(#{$nav_height} - 2px);
410411
color: white;
411412
min-width: $sidenav_width;
@@ -419,6 +420,9 @@ $nav_height: 60px;
419420
justify-content: space-between;
420421
align-items: center;
421422
border: none;
423+
//border-width: 0 0 0 1px;
424+
//border-color: $ff-grey-500;
425+
//border-radius: 0;
422426
background-color: $ff-grey-800;
423427
&:hover {
424428
background-color: $ff-grey-700;

0 commit comments

Comments
 (0)