From 8e3f54ae42c21fdae62225892ad340877651df27 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Fri, 23 Sep 2022 16:51:35 +0200 Subject: [PATCH] feat: convert model methods to named functions --- src/components/misc/user.vue | 19 +++++++++------ .../notifications/notifications.vue | 3 ++- src/components/sharing/linkSharing.vue | 3 ++- src/components/sharing/userTeam.vue | 4 ++-- src/components/tasks/partials/comments.vue | 9 +++---- .../tasks/partials/createdUpdated.vue | 3 ++- src/components/tasks/partials/defer-task.vue | 9 ++++--- src/modelTypes/IUser.ts | 4 +++- src/models/notification.ts | 9 +++---- src/models/user.ts | 24 +++++++++---------- src/store/types.ts | 1 + src/stores/auth.ts | 19 +++++++++++---- src/stores/labels.ts | 8 +++---- src/stores/lists.ts | 6 ++--- src/views/namespaces/settings/share.vue | 2 +- src/views/teams/EditTeam.vue | 3 ++- 16 files changed, 75 insertions(+), 51 deletions(-) diff --git a/src/components/misc/user.vue b/src/components/misc/user.vue index 89a2abda..b10bcdd8 100644 --- a/src/components/misc/user.vue +++ b/src/components/misc/user.vue @@ -2,34 +2,39 @@
- {{ user.getDisplayName() }} + v-tooltip="getDisplayName(user)"/> + {{ getDisplayName(user) }}