Skip to content

Commit db7a27a

Browse files
committed
fix(build-error): fixed build errors
1 parent f0729bc commit db7a27a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/features/project/project-addons/components/configure-addon/configure-addon.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class ConfigureAddonComponent implements OnInit {
101101
return `${this.environment.webUrl}/${id}`;
102102
});
103103
readonly addonTypeString = computed(() => {
104-
return getAddonTypeString(this.addon());
104+
return getAddonTypeString(this.addon()) as AddonType;
105105
});
106106
readonly selectedItemLabel = computed(() => {
107107
const addonType = this.addonTypeString();

src/app/features/project/project-addons/components/connect-configured-addon/connect-configured-addon.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export class ConnectConfiguredAddonComponent {
144144
return `${this.environment.webUrl}/${id}`;
145145
});
146146

147-
addonTypeString = computed(() => getAddonTypeString(this.addon()));
147+
addonTypeString = computed(() => getAddonTypeString(this.addon()) as AddonType);
148148

149149
readonly baseUrl = computed(() => {
150150
const currentUrl = this.router.url;

0 commit comments

Comments
 (0)