fix(console): onboarding actions with external links (#6822)

* fix: attr for external links

* template outlet
This commit is contained in:
Max Peintner
2023-11-22 10:14:37 +01:00
committed by GitHub
parent d4b18a3eda
commit 5fa596a871
3 changed files with 63 additions and 41 deletions

View File

@@ -313,6 +313,7 @@ export interface OnboardingActions {
order: number;
milestoneType: MilestoneType;
link: string;
externalLink?: boolean;
fragment?: string | undefined;
iconClasses?: string;
darkcolor: string;
@@ -322,6 +323,7 @@ export interface OnboardingActions {
type OnboardingMilestone = {
order: number;
link: string;
externalLink?: boolean;
fragment: string | undefined;
reached: Milestone.AsObject | undefined;
iconClasses?: string;
@@ -354,6 +356,7 @@ export class AdminService {
obj[Object.keys(MilestoneType)[action.milestoneType].substring(this.milestoneTypePrefixLength)] = {
order: action.order,
link: action.link,
externalLink: action.externalLink,
fragment: action.fragment,
iconClasses: action.iconClasses,
darkcolor: action.darkcolor,