diff --git a/frontend/src/app/features/apps/pages/app.component.html b/frontend/src/app/features/apps/pages/app.component.html index f41ecc6e5..75e5d0094 100644 --- a/frontend/src/app/features/apps/pages/app.component.html +++ b/frontend/src/app/features/apps/pages/app.component.html @@ -24,20 +24,22 @@ - - - - - - {{ 'apps.leave' | sqxTranslate }} - - + + + + + + + {{ 'apps.leave' | sqxTranslate }} + + + \ No newline at end of file diff --git a/frontend/src/app/shared/services/apps.service.ts b/frontend/src/app/shared/services/apps.service.ts index dc9f4b19d..1061ce452 100644 --- a/frontend/src/app/shared/services/apps.service.ts +++ b/frontend/src/app/shared/services/apps.service.ts @@ -16,6 +16,7 @@ export class AppDto { public readonly canCreateSchema: boolean; public readonly canDelete: boolean; + public readonly canLeave: boolean; public readonly canReadAssets: boolean; public readonly canReadAssetsScripts: boolean; public readonly canReadBackups: boolean; @@ -60,6 +61,7 @@ export class AppDto { this.canCreateSchema = hasAnyLink(links, 'schemas/create'); this.canDelete = hasAnyLink(links, 'delete'); + this.canLeave = hasAnyLink(links, 'leave'); this.canReadAssets = hasAnyLink(links, 'assets'); this.canReadAssetsScripts = hasAnyLink(links, 'assets/scripts'); this.canReadBackups = hasAnyLink(links, 'backups'); diff --git a/tools/TestSuite/TestSuite.ApiTests/Settings/VerifySettings.cs b/tools/TestSuite/TestSuite.ApiTests/Settings/VerifySettings.cs index 387b7085f..691f8fe68 100644 --- a/tools/TestSuite/TestSuite.ApiTests/Settings/VerifySettings.cs +++ b/tools/TestSuite/TestSuite.ApiTests/Settings/VerifySettings.cs @@ -14,7 +14,7 @@ public static class VerifySettings [ModuleInitializer] public static void Initialize() { - Verifier.DerivePathInfo((sourceFile, projectDirectory, type, method) => + DerivePathInfo((sourceFile, projectDirectory, type, method) => { var path = Path.Combine(projectDirectory, "Verify");