Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

34 lines
852 B

/*
* Squidex Headless CMS
*
* @license
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { AppDto, AppsState, DialogModel, fadeAnimation, ModalModel, UIState } from '@app/shared';
@Component({
selector: 'sqx-apps-menu',
styleUrls: ['./apps-menu.component.scss'],
templateUrl: './apps-menu.component.html',
animations: [
fadeAnimation,
],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AppsMenuComponent {
public addAppDialog = new DialogModel();
public appsMenu = new ModalModel();
constructor(
public readonly appsState: AppsState,
public readonly uiState: UIState,
) {
}
public trackByApp(_index: number, app: AppDto) {
return app.id;
}
}