Allow for empty mode only for backwards compatibility
This commit is contained in:
1 parent
eb60744bf2
commit
29b37e2b34
1 file changed
+1
-1
@@ -21,7 +21,7 @@ class Monitor extends React.Component {
|
||||
|
||||
// @todo consume from VM, but need to store until there are APIs to update vm
|
||||
this.state = {
|
||||
mode: props.mode
|
||||
mode: props.mode || 'default'
|
||||
};
|
||||
}
|
||||
componentDidMount () {
|
||||
|
||||
Reference in new issue
Block a user