chore(Status): don't handle successful request
no need to destroy the widget as a DELETE even will be emitted
This commit is contained in:
parent
59e1f6d911
commit
beff68c681
|
@ -242,8 +242,6 @@ public class Tooth.Widgets.Status : ListBoxRow {
|
|||
var root = network.parse (msg);
|
||||
if (root.has_member("error")) {
|
||||
// TODO: Handle error (probably a toast?)
|
||||
} else {
|
||||
this.destroy();
|
||||
};
|
||||
})
|
||||
.exec ();
|
||||
|
|
Loading…
Reference in New Issue