mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(config) when disabled error occures on second call
This commit is contained in:
parent
56a359a823
commit
da8281e387
1 changed files with 5 additions and 1 deletions
|
|
@ -27,8 +27,12 @@ CloudCmd.Config = ConfigProto;
|
|||
let Loading = true;
|
||||
|
||||
function ConfigProto() {
|
||||
const noop = () => {};
|
||||
|
||||
if (!CloudCmd.config('configDialog'))
|
||||
return;
|
||||
return {
|
||||
show: noop
|
||||
};
|
||||
|
||||
Loading = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue