Skip to content

Commit

Permalink
Merge pull request #2192 from nextcloud/fix/noid/navigation-item-name
Browse files Browse the repository at this point in the history
Use recommended name prop for NcAppNavigationItem
  • Loading branch information
raimund-schluessler authored Feb 9, 2023
2 parents 15b3fba + 2a9c7e2 commit 8049dc7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/AppNavigation/CalendarSharee.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<template>
<NcAppNavigationItem :title="sharee.displayName" force-display-actions>
<NcAppNavigationItem :name="sharee.displayName" force-display-actions>
<template #icon>
<AccountMultiple v-if="sharee.isGroup"
:size="18"
Expand Down
2 changes: 1 addition & 1 deletion src/components/AppNavigation/ListItemCalendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
v-click-outside="{ handler: resetView, middleware: clickOutsideMiddleware }"
:calendar-id="calendar.id"
:to="{ name: 'calendars', params: { calendarId: calendar.id } }"
:title="calendar.displayName"
:name="calendar.displayName"
:class="{'list--edit': editing, 'list--deleted': !!deleteTimeout}"
class="list reactive"
@drop.native="dropTask"
Expand Down
2 changes: 1 addition & 1 deletion src/components/AppNavigation/Trashbin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
-->

<template>
<NcAppNavigationItem :title="t('tasks', 'Trash bin')"
<NcAppNavigationItem :name="t('tasks', 'Trash bin')"
:pinned="true"
@click.prevent="onShow">
<template #icon>
Expand Down
4 changes: 2 additions & 2 deletions src/views/AppNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:key="collection.id"
:collection-id="collection.id"
:to="{ name: 'collections', params: { collectionId: collection.id } }"
:title="collection.displayName"
:name="collection.displayName"
class="collection reactive"
draggable="false"
@dragstart.native="dragStart"
Expand Down Expand Up @@ -57,7 +57,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
@click.native="setInitialRoute(`/calendars/${calendar.id}`)" />
</draggable>
<NcAppNavigationItem v-click-outside="() => {creating = false}"
:title="t('tasks', 'Add List…')"
:name="t('tasks', 'Add List…')"
:class="{'collection--edit': creating}"
class="collection reactive"
@click="startCreate($event)">
Expand Down

0 comments on commit 8049dc7

Please sign in to comment.