Skip to content

Commit a0521bf

Browse files
committed
fix delete user
1 parent 931e6de commit a0521bf

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

OpenFlow/src/public/Controllers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ module openflow {
727727
this.loading = false;
728728
if (!this.$scope.$$phase) { this.$scope.$apply(); }
729729
}
730-
async DeleteOne(model: openflow.TokenUser): Promise<any> {
730+
async DeleteOneUser(model: openflow.TokenUser): Promise<any> {
731731
this.loading = true;
732732
await this.api.Delete(this.collection, model);
733733
this.models = this.models.filter(function (m: any): boolean { return m._id !== model._id; });

OpenFlow/src/public/Users.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h1 translate lib="web">users</h1>
4848
<a ng-href="#/User/{{model._id}}"><i class="az-edit"></i></a>
4949
</td>
5050
<td class="btn-cell">
51-
<a href ng-click="ctrl.DeleteOne(model)" ng-disabled="ctrl.loading==true"><i class="az-trash"></i></a>
51+
<a href ng-click="ctrl.DeleteOneUser(model)" ng-disabled="ctrl.loading==true"><i class="az-trash"></i></a>
5252
</td>
5353
</tr>
5454
</tbody>

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.352
1+
0.0.353

0 commit comments

Comments
 (0)