feat(admin): delete client
This commit is contained in:
parent
6c537e4b80
commit
8e8f49ae87
3 changed files with 1 additions and 7 deletions
BIN
js/dist/admin.js
generated
vendored
BIN
js/dist/admin.js
generated
vendored
Binary file not shown.
BIN
js/dist/admin.js.map
generated
vendored
BIN
js/dist/admin.js.map
generated
vendored
Binary file not shown.
|
@ -54,9 +54,9 @@ export default class ClientsPage extends Page {
|
||||||
className: 'Button Button--icon',
|
className: 'Button Button--icon',
|
||||||
icon: 'fas fa-times',
|
icon: 'fas fa-times',
|
||||||
onclick: () => {
|
onclick: () => {
|
||||||
|
this.clients[index].delete();
|
||||||
this.clients.splice(index, 1);
|
this.clients.splice(index, 1);
|
||||||
|
|
||||||
// this.setting(settingName)(JSON.stringify(reasons));
|
|
||||||
},
|
},
|
||||||
})),
|
})),
|
||||||
])),
|
])),
|
||||||
|
@ -72,12 +72,6 @@ export default class ClientsPage extends Page {
|
||||||
client_id: client_id,
|
client_id: client_id,
|
||||||
client_secret: client_secret,
|
client_secret: client_secret,
|
||||||
}).then(this.clients.push(client));
|
}).then(this.clients.push(client));
|
||||||
|
|
||||||
// this.clients.push(Client.build({
|
|
||||||
//
|
|
||||||
// }));
|
|
||||||
|
|
||||||
// this.setting(settingName)(JSON.stringify(reasons));
|
|
||||||
},
|
},
|
||||||
}, app.translator.trans(this.translationPrefix + 'add_button')))),
|
}, app.translator.trans(this.translationPrefix + 'add_button')))),
|
||||||
]),
|
]),
|
||||||
|
|
Loading…
Reference in a new issue