mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 18:51:17 +00:00
Merge pull request #1198 from weaveworks/1195-fix-terminal-when-no-rank
Fixes the terminal loading when the node doesn't have a rank.
This commit is contained in:
@@ -43,7 +43,7 @@ export function getNeutralColor() {
|
||||
return PSEUDO_COLOR;
|
||||
}
|
||||
|
||||
export function getNodeColor(text, secondText, isPseudo = false) {
|
||||
export function getNodeColor(text = '', secondText = '', isPseudo = false) {
|
||||
if (isPseudo) {
|
||||
return PSEUDO_COLOR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user