ds command.
This commit is contained in:
parent
88f8a7f58f
commit
2daba0cfa9
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@poweredsoft/ngx-cdk-ui",
|
||||
"version": "0.0.13",
|
||||
"version": "0.0.15",
|
||||
"peerDependencies": {
|
||||
"@angular/common": "^9.1.9",
|
||||
"@angular/core": "^9.1.9",
|
||||
|
@ -16,7 +16,7 @@ export interface DsCommandPropertyError
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: 'ps-ds-command',
|
||||
selector: 'ps-ds-command, [psDsCommand]',
|
||||
templateUrl: './ds-command.component.html',
|
||||
styleUrls: ['./ds-command.component.scss']
|
||||
})
|
||||
@ -110,7 +110,7 @@ export class DsCommandComponent implements OnInit, OnDestroy {
|
||||
});
|
||||
|
||||
this._notifyMessageSubscription = this.dataSource.notifyMessage$.subscribe(message => {
|
||||
if (message.type != 'info')
|
||||
if (message.type != 'info' && message.type != "success")
|
||||
this.lastErrorMessage = message.message;
|
||||
});
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
<div class="card mt-2" *ngIf="formActivated">
|
||||
|
||||
<div class="card-body">
|
||||
<ps-ds-command [dataSource]="dataSource" name="changePhone" (success)="onSuccess($event)"
|
||||
<div psDsCommand [dataSource]="dataSource" name="changePhone" (success)="onSuccess($event)"
|
||||
[model]="model">
|
||||
<ng-container *psDsCommandContent="let command; let loading=loading">
|
||||
<div class="form-group">
|
||||
@ -65,7 +65,7 @@
|
||||
|
||||
</ng-container>
|
||||
|
||||
</ps-ds-command>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ng-container>
|
||||
|
Loading…
Reference in New Issue
Block a user