Browse Source
Merge branch 'main' into feature/add-horizontal-lines-to-separate-delete-actions-in-menus
pull/3805/head
Thomas Kaul
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
4 additions and
2 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/access-table/access-table.component.ts
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Changed |
|
|
|
|
|
|
|
- Improved the usability of various action menus by introducing horizontal lines to separate the delete action |
|
|
|
- Considered the user’s language in the link of the access table to share the portfolio |
|
|
|
|
|
|
|
## 2.109.0 - 2024-09-17 |
|
|
|
|
|
|
|
|
|
@ -30,7 +30,6 @@ export class AccessTableComponent implements OnChanges, OnInit { |
|
|
|
|
|
|
|
public baseUrl = window.location.origin; |
|
|
|
public dataSource: MatTableDataSource<Access>; |
|
|
|
public defaultLanguageCode = DEFAULT_LANGUAGE_CODE; |
|
|
|
public displayedColumns = []; |
|
|
|
|
|
|
|
public constructor( |
|
|
@ -53,7 +52,9 @@ export class AccessTableComponent implements OnChanges, OnInit { |
|
|
|
} |
|
|
|
|
|
|
|
public getPublicUrl(aId: string): string { |
|
|
|
return `${this.baseUrl}/${this.defaultLanguageCode}/p/${aId}`; |
|
|
|
const languageCode = this.user?.settings?.language ?? DEFAULT_LANGUAGE_CODE; |
|
|
|
|
|
|
|
return `${this.baseUrl}/${languageCode}/p/${aId}`; |
|
|
|
} |
|
|
|
|
|
|
|
public onCopyToClipboard(aId: string): void { |
|
|
|