feat: add success and error status in Status component
1. add 'pass' key in successKeys 2. add 'refuse' key in errorKeys Change-Id: I4e340785ef37c06b45342ac38ccdce560414623a
This commit is contained in:
parent
47b3cead09
commit
bd30f8c308
@ -33,6 +33,7 @@ const successKeys = [
|
||||
'complete',
|
||||
'online',
|
||||
'ready',
|
||||
'pass',
|
||||
];
|
||||
|
||||
const successKeysContain = ['complete'];
|
||||
@ -58,6 +59,7 @@ const errorKeys = [
|
||||
'power off',
|
||||
'error',
|
||||
'offline',
|
||||
'refuse',
|
||||
];
|
||||
|
||||
const errorKeysContain = ['fail'];
|
||||
|
Loading…
Reference in New Issue
Block a user