From e61237857e8b59429d3bd2bd482a6254f9148e16 Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Thu, 28 Apr 2022 10:57:01 +0200 Subject: [PATCH] Use $gettext mock, Linting --- .../InviteCollaborator/InviteCollaboratorForm.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/web-app-files/src/components/SideBar/Shares/Collaborators/InviteCollaborator/InviteCollaboratorForm.vue b/packages/web-app-files/src/components/SideBar/Shares/Collaborators/InviteCollaborator/InviteCollaboratorForm.vue index d85a0f2aad1..71d5ffbf47c 100644 --- a/packages/web-app-files/src/components/SideBar/Shares/Collaborators/InviteCollaborator/InviteCollaboratorForm.vue +++ b/packages/web-app-files/src/components/SideBar/Shares/Collaborators/InviteCollaborator/InviteCollaboratorForm.vue @@ -98,6 +98,10 @@ import { shareSpaceAddMemberHelp } from '../../../../../helpers/contextualHelpers.js' +const $gettext = (str) => { + return str +} + export default { name: 'InviteCollaboratorForm', components: { @@ -110,7 +114,7 @@ export default { saveButtonLabel: { type: String, required: false, - default: () => this.$gettext('Share') + default: () => $gettext('Share') } },