perbaikan breadcrumb room
This commit is contained in:
parent
dc987d78c9
commit
074b1f9674
|
@ -9,7 +9,7 @@
|
||||||
<div class="col-12" *blockUI="'numberTabs'; message: 'Loading'">
|
<div class="col-12" *blockUI="'numberTabs'; message: 'Loading'">
|
||||||
<m-card>
|
<m-card>
|
||||||
<ng-container mCardHeaderTitle>
|
<ng-container mCardHeaderTitle>
|
||||||
<h2>Add New</h2>
|
<!-- <h2>Add New</h2> -->
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container mCardBody>
|
<ng-container mCardBody>
|
||||||
<div class="card-block">
|
<div class="card-block">
|
||||||
|
|
|
@ -46,20 +46,6 @@ export class AddNewBuildingRoomComponent implements OnInit {
|
||||||
constructor(private formBuilder: FormBuilder, private router: Router,) {}
|
constructor(private formBuilder: FormBuilder, private router: Router,) {}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.breadcrumb = {
|
|
||||||
mainlabel: "Device",
|
|
||||||
links: [
|
|
||||||
{
|
|
||||||
name: "Home",
|
|
||||||
isLink: false,
|
|
||||||
link: "/dashboard/sales",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Device",
|
|
||||||
isLink: false,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
|
||||||
this.numberTab = this.formBuilder.group({
|
this.numberTab = this.formBuilder.group({
|
||||||
buildName: ["", Validators.required],
|
buildName: ["", Validators.required],
|
||||||
phone: ["", Validators.required],
|
phone: ["", Validators.required],
|
||||||
|
|
|
@ -168,15 +168,15 @@ export class RoomComponent implements OnInit {
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.breadcrumb = {
|
this.breadcrumb = {
|
||||||
mainlabel: "Device",
|
mainlabel: "Room",
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
name: "Home",
|
name: "Dashboard",
|
||||||
isLink: false,
|
isLink: false,
|
||||||
link: "/dashboard/sales",
|
link: "/dashboard/sales",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Device",
|
name: "Room",
|
||||||
isLink: false,
|
isLink: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue