mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
fix(Setup): fix seed setup settings to the storage.
This commit is contained in:
@@ -566,6 +566,7 @@ export default class ItemsService implements IItemsService {
|
||||
dynamicFilter.buildQuery()(builder);
|
||||
})
|
||||
.pagination(itemsFilter.page - 1, itemsFilter.pageSize);
|
||||
|
||||
return {
|
||||
items: results,
|
||||
pagination,
|
||||
|
||||
@@ -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