mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Fixes harmless exception: hitting esc with no cards open.
This commit is contained in:
@@ -240,7 +240,7 @@ export class AppStore extends Store {
|
||||
}
|
||||
|
||||
getTopCardNodeId() {
|
||||
return nodeDetails.last().id;
|
||||
return nodeDetails.last() && nodeDetails.last().id;
|
||||
}
|
||||
|
||||
getNodes() {
|
||||
|
||||
Reference in New Issue
Block a user