From 888fca71d753907ab57fbf7ad7d6e4215a7fa460 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 17 Sep 2024 19:40:31 +0200 Subject: [PATCH] Reorder methods --- .../app/components/access-table/access-table.component.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/client/src/app/components/access-table/access-table.component.ts b/apps/client/src/app/components/access-table/access-table.component.ts index 8c6f1fb01..3d47c6087 100644 --- a/apps/client/src/app/components/access-table/access-table.component.ts +++ b/apps/client/src/app/components/access-table/access-table.component.ts @@ -51,14 +51,14 @@ export class AccessTableComponent implements OnChanges, OnInit { } } - public onCopyToClipboard(aId: string): void { - this.clipboard.copy(this.getPublicUrl(aId)); - } - public getPublicUrl(aId: string): string { return `${this.baseUrl}/${this.defaultLanguageCode}/p/${aId}`; } + public onCopyToClipboard(aId: string): void { + this.clipboard.copy(this.getPublicUrl(aId)); + } + public onDeleteAccess(aId: string) { this.notificationService.confirm({ confirmFn: () => {