Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/NavigationNoteItem.vue')
-rw-r--r--src/components/NavigationNoteItem.vue30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/components/NavigationNoteItem.vue b/src/components/NavigationNoteItem.vue
index 3a56bdf2..4ee74b96 100644
--- a/src/components/NavigationNoteItem.vue
+++ b/src/components/NavigationNoteItem.vue
@@ -1,5 +1,5 @@
<template>
- <AppNavigationItem
+ <NcAppNavigationItem
:title="title"
:icon="icon"
:menu-open.sync="actionsOpen"
@@ -12,25 +12,25 @@
@update:title="onRename"
>
<template #actions>
- <ActionButton :icon="actionFavoriteIcon" @click="onToggleFavorite">
+ <NcActionButton :icon="actionFavoriteIcon" @click="onToggleFavorite">
{{ actionFavoriteText }}
- </ActionButton>
- <ActionButton v-if="!note.readonly" :icon="actionDeleteIcon" @click="onDeleteNote">
+ </NcActionButton>
+ <NcActionButton v-if="!note.readonly" :icon="actionDeleteIcon" @click="onDeleteNote">
{{ t('notes', 'Delete note') }}
- </ActionButton>
- <ActionSeparator />
- <ActionButton icon="icon-files-dark" @click="onCategorySelected">
+ </NcActionButton>
+ <NcActionSeparator />
+ <NcActionButton icon="icon-files-dark" @click="onCategorySelected">
{{ actionCategoryText }}
- </ActionButton>
+ </NcActionButton>
</template>
- </AppNavigationItem>
+ </NcAppNavigationItem>
</template>
<script>
import {
- ActionButton,
- ActionSeparator,
- AppNavigationItem,
+ NcActionButton,
+ NcActionSeparator,
+ NcAppNavigationItem,
} from '@nextcloud/vue'
import { showError } from '@nextcloud/dialogs'
@@ -41,9 +41,9 @@ export default {
name: 'NavigationNoteItem',
components: {
- ActionButton,
- ActionSeparator,
- AppNavigationItem,
+ NcActionButton,
+ NcActionSeparator,
+ NcAppNavigationItem,
},
props: {