From 3f3ac369bdb5fe0c26f9da26e35e21b3cf572751 Mon Sep 17 00:00:00 2001 From: jsteenke <146953549+jsteenke@users.noreply.github.com> Date: Wed, 13 Mar 2024 12:06:02 +0100 Subject: [PATCH] theme name change disabled (#83) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: connected images service to theme * feat: add images * feat: add bff security * feat: change image upload * feat: lint update * feat: constraint fix * feat: test change * feat: change img size * fix: url problems fix * feat: url reset * feat: fetchingURLs update * feat: fetching URL change update * feat: disable name change in edit --------- Co-authored-by: Henry Täschner <129834483+HenryT-CG@users.noreply.github.com> --- src/app/theme/theme-designer/theme-designer.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/theme/theme-designer/theme-designer.component.ts b/src/app/theme/theme-designer/theme-designer.component.ts index 9a62499..8b8e00a 100644 --- a/src/app/theme/theme-designer/theme-designer.component.ts +++ b/src/app/theme/theme-designer/theme-designer.component.ts @@ -156,6 +156,7 @@ export class ThemeDesignerComponent implements OnInit { this.themeApi.getThemeByName({ name: this.themeName }).subscribe((data) => { this.theme = data.resource this.basicForm.patchValue(data.resource) + this.basicForm.controls['name'].disable() this.propertiesForm.reset() this.propertiesForm.patchValue(data.resource.properties || {}) this.fetchingLogoUrl = this.getImageUrl(this.theme, 'logo')