Close details panel when node was removed via control

This commit is contained in:
David Kaltschmidt
2016-04-21 18:34:51 +02:00
parent ed555b6780
commit 62ed88cf16
6 changed files with 26 additions and 6 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ type Response struct {
Pipe string `json:"pipe,omitempty"`
RawTTY bool `json:"raw_tty,omitempty"`
CloseDetails bool `json:"closeDetails,omitempty"` // True will cause the UI to close the details panel.
// Remove specific fields
RemovedNode string `json:"removedNode,omitempty"` // Set if node was removed
}
// Message is the unions of Request, Response and arbitrary Value.