20 lines
806 B
TypeScript
20 lines
806 B
TypeScript
import { Component } from '@angular/core';
|
|
import { SimpleLayout } from '../../components/simple-layout/simple-layout';
|
|
import { IconNavListItem } from '../../components/icon-nav-list/IconNavListItem';
|
|
import { IconNavList } from "../../components/icon-nav-list/icon-nav-list";
|
|
|
|
@Component({
|
|
selector: 'app-settings',
|
|
imports: [ SimpleLayout, IconNavList],
|
|
templateUrl: './settings.html',
|
|
styles: ``,
|
|
})
|
|
export class Settings {
|
|
readonly menuItems = [
|
|
new IconNavListItem('translate', 'settings.nav.language', ['languages']),
|
|
new IconNavListItem('warehouse', 'settings.nav.manage_chains', ['chains']),
|
|
new IconNavListItem('store', 'settings.nav.manage_establishments', ['establishments']),
|
|
new IconNavListItem('shopping_bag', 'settings.nav.manage_products', ['products']),
|
|
];
|
|
}
|