Merge remote-tracking branch 'origin/main' into feature/localization-1
This commit is contained in:
@@ -274,7 +274,9 @@ export class UmbRollbackModalElement extends UmbModalBaseElement<UmbRollbackModa
|
||||
|
||||
get currentVersionHeader() {
|
||||
return (
|
||||
this.localize.date(this.currentVersion?.date || '', this.#localizeDateOptions) + ' - ' + this.currentVersion?.user
|
||||
this.localize.date(this.currentVersion?.date ?? new Date(), this.#localizeDateOptions) +
|
||||
' - ' +
|
||||
this.currentVersion?.user
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ export class UmbCurrentUserServerDataSource {
|
||||
email: data.email,
|
||||
fallbackPermissions: data.fallbackPermissions,
|
||||
hasAccessToAllLanguages: data.hasAccessToAllLanguages,
|
||||
hasAccessToSensitiveData: data.hasAccessToSensitiveData,
|
||||
hasDocumentRootAccess: data.hasDocumentRootAccess,
|
||||
hasMediaRootAccess: data.hasMediaRootAccess,
|
||||
isAdmin: data.isAdmin,
|
||||
|
||||
@@ -15,6 +15,7 @@ export interface UmbCurrentUserModel {
|
||||
email: string;
|
||||
fallbackPermissions: Array<string>;
|
||||
hasAccessToAllLanguages: boolean;
|
||||
hasAccessToSensitiveData: boolean;
|
||||
hasDocumentRootAccess: boolean;
|
||||
hasMediaRootAccess: boolean;
|
||||
isAdmin: boolean;
|
||||
|
||||
Reference in New Issue
Block a user