forked from abner/for-legacy-web
fix: hydrating server config should always be null if not present
This commit is contained in:
@@ -32,7 +32,7 @@ export default class ServerConfig
|
||||
}
|
||||
|
||||
@action hydrate(data: RevoltConfiguration) {
|
||||
this.config = data;
|
||||
this.config = data ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user