Browse Source

Clean up

pull/6643/head
Thomas Kaul 15 hours ago
parent
commit
7842bdba73
  1. 4
      apps/client/src/app/components/access-table/access-table.component.ts

4
apps/client/src/app/components/access-table/access-table.component.ts

@ -88,13 +88,13 @@ export class GfAccessTableComponent {
}); });
} }
protected getPublicUrl(aId: string): string { protected getPublicUrl(aId: string) {
const languageCode = this.user().settings.language; const languageCode = this.user().settings.language;
return `${this.baseUrl}/${languageCode}/${publicRoutes.public.path}/${aId}`; return `${this.baseUrl}/${languageCode}/${publicRoutes.public.path}/${aId}`;
} }
protected onCopyUrlToClipboard(aId: string): void { protected onCopyUrlToClipboard(aId: string) {
this.clipboard.copy(this.getPublicUrl(aId)); this.clipboard.copy(this.getPublicUrl(aId));
this.snackBar.open( this.snackBar.open(

Loading…
Cancel
Save