fixed errors on stock-form
This commit is contained in:
@@ -4,10 +4,10 @@ import { NzModalModule } from 'ng-zorro-antd/modal';
|
||||
import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||
|
||||
@Component({
|
||||
selector: 'app-modalNav',
|
||||
selector: 'app-modal-nav',
|
||||
imports: [NzButtonModule, NzModalModule, NzIconDirective],
|
||||
templateUrl: 'modalNav.html',
|
||||
styleUrls: ['./modalNav.css'],
|
||||
templateUrl: 'modal-nav.html',
|
||||
styleUrls: ['./modal-nav.css'],
|
||||
})
|
||||
export class ModalNav {
|
||||
@Input() nameIcon: string = '';
|
||||
@@ -23,9 +23,9 @@
|
||||
<td>{{data.minimalQuantity}}</td>
|
||||
<td>
|
||||
<div style="display: flex; gap: 10px;">
|
||||
<app-modalNav nameIcon="edit" name="Modification de la quantité minimale">
|
||||
<app-modal-nav nameIcon="edit" name="Modification de la quantité minimale">
|
||||
<app-stock-form></app-stock-form>
|
||||
</app-modalNav>
|
||||
</app-modal-nav>
|
||||
<div>
|
||||
<nz-icon nzType="delete" nzTheme="outline"/>
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {StockInfo} from "../../interfaces/stock.interface";
|
||||
import {NzTableComponent} from "ng-zorro-antd/table";
|
||||
import {ModalNav} from "../modalNav/modalNav";
|
||||
import {ModalNav} from "../modal-nav/modal-nav";
|
||||
import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||
import {StockForm} from "../stock-form/stock-form";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user