diff options
author | korelstar <korelstar@users.noreply.github.com> | 2020-02-19 23:35:19 +0300 |
---|---|---|
committer | korelstar <korelstar@users.noreply.github.com> | 2020-02-20 10:21:45 +0300 |
commit | 70e77ed35ddf3c03044a13af6846fd4fc7ddb28e (patch) | |
tree | 8006b5159393070f849ae4a44d86d6cd030bf911 /src/components/NavigationList.vue | |
parent | 63e53e696ec0dd9e76b4d6b659d4203d0ada7c3c (diff) |
refactoring maintenance
Diffstat (limited to 'src/components/NavigationList.vue')
-rw-r--r-- | src/components/NavigationList.vue | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/NavigationList.vue b/src/components/NavigationList.vue index a9c4ec79..8ca9ff06 100644 --- a/src/components/NavigationList.vue +++ b/src/components/NavigationList.vue @@ -59,9 +59,10 @@ import { AppNavigationCaption, AppNavigationItem, } from '@nextcloud/vue' + +import { categoryLabel } from '../NotesService' import NavigationCategoriesItem from './NavigationCategoriesItem' import NavigationNoteItem from './NavigationNoteItem' -import NotesService from '../NotesService' import store from '../store' import { ObserveVisibility } from 'vue-observe-visibility' @@ -176,11 +177,11 @@ export default { }, categoryTitle(category) { - return NotesService.categoryLabel(category) + return categoryLabel(category) }, categoryToLabel(category) { - return NotesService.categoryLabel(category.substring(this.category.length + 1)) + return categoryLabel(category.substring(this.category.length + 1)) }, getTimeslotFromNote(note) { |