refresh on success should be true by default.
This commit is contained in:
parent
2daba0cfa9
commit
21a93e1a1a
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@poweredsoft/ngx-cdk-ui",
|
||||
"version": "0.0.15",
|
||||
"version": "0.0.16",
|
||||
"peerDependencies": {
|
||||
"@angular/common": "^9.1.9",
|
||||
"@angular/core": "^9.1.9",
|
||||
|
@ -21,10 +21,19 @@ export interface DsCommandPropertyError
|
||||
styleUrls: ['./ds-command.component.scss']
|
||||
})
|
||||
export class DsCommandComponent implements OnInit, OnDestroy {
|
||||
|
||||
private _refreshOnSuccess: boolean = true;
|
||||
|
||||
@Input() dataSource: IDataSource<any>;
|
||||
@Input() name: string;
|
||||
@Input() model: any;
|
||||
@Input() refreshOnSuccess: boolean;
|
||||
@Input() set refreshOnSuccess(val: boolean) {
|
||||
this._refreshOnSuccess = val;
|
||||
}
|
||||
get refreshOnSuccess() {
|
||||
return this._refreshOnSuccess;
|
||||
}
|
||||
|
||||
@Input() resolveCommand: boolean;
|
||||
|
||||
@Output() success = new EventEmitter<any>();
|
||||
|
Loading…
Reference in New Issue
Block a user