fix: Update route permissions in the new primary menu (#3499)

* fix: Display rolewise primary sidebar

* Fix issues with roles

* Fix active style

* Fix accessible menu

* Fix key missing

* Changes menu icon size

Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com>
This commit is contained in:
Pranav Raj S
2021-12-01 21:32:43 -08:00
committed by GitHub
parent b826319776
commit 8b4134c790
23 changed files with 282 additions and 349 deletions

View File

@@ -10,7 +10,7 @@
</template>
<script>
import { mapGetters } from 'vuex';
import PrimaryNavItem from 'dashboard/modules/sidebar/components/PrimaryNavItem';
import PrimaryNavItem from './PrimaryNavItem';
export default {
components: { PrimaryNavItem },
@@ -21,7 +21,7 @@ export default {
}),
unreadCount() {
if (!this.notificationMetadata.unreadCount) {
return '0';
return '';
}
return this.notificationMetadata.unreadCount < 100