0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 20:02:54 +01:00

FIX: logs weren't deleting when trash can was pressed

Dieser Commit ist enthalten in:
Robert Barrow 2019-06-16 14:33:30 +01:00
Ursprung 7efaf25572
Commit fa39bbff29

Datei anzeigen

@ -198,6 +198,9 @@ export default Ember.Controller.extend({
},
clearLogs() {
const name = this.get('api.name');
if (!name) return;
ajax(`/admin/wizards/apis/logs/${name.underscore()}`, {
type: 'DELETE'
}).catch(popupAjaxError)