mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-28 18:12:16 +00:00
* feat: support list milestones api * show milestones in onboarding view * add authenticated milestone * add icon to login milestone * update main * lint * fix import * fix import * lint * reuse proto milestone type mapping
21 lines
639 B
TypeScript
21 lines
639 B
TypeScript
import { Component } from '@angular/core';
|
|
import { AdminService } from 'src/app/services/admin.service';
|
|
import { ThemeService } from 'src/app/services/theme.service';
|
|
import { ONBOARDING_MILESTONES } from 'src/app/utils/onboarding';
|
|
|
|
@Component({
|
|
selector: 'cnsl-onboarding',
|
|
templateUrl: './onboarding.component.html',
|
|
styleUrls: ['./onboarding.component.scss'],
|
|
})
|
|
export class OnboardingComponent {
|
|
public actions = this.adminService.progressMilestones;
|
|
|
|
constructor(
|
|
public adminService: AdminService,
|
|
public themeService: ThemeService,
|
|
) {
|
|
this.adminService.loadMilestones.next(ONBOARDING_MILESTONES);
|
|
}
|
|
}
|