mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
fix(Setup): fix seed setup settings to the storage.
This commit is contained in:
@@ -52,9 +52,8 @@ export default class SetupService {
|
||||
const settings = this.tenancy.settings(tenantId);
|
||||
|
||||
// Can't continue if app is already configured.
|
||||
if (settings.get('app_configured')) {
|
||||
return;
|
||||
}
|
||||
if (settings.get('app_configured')) { return; }
|
||||
|
||||
settings.set([
|
||||
...this.transformSetupDTOToOptions(organizationSetupDTO)
|
||||
.filter((option) => typeof option.value !== 'undefined')
|
||||
|
||||
Reference in New Issue
Block a user