diff --git a/manifest.json b/manifest.json index cf468fe..83158ed 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "vault-explorer", "name": "Vault Explorer", - "version": "1.18.0", + "version": "1.18.1", "minAppVersion": "1.4.13", "description": "Explore your vault in visual format", "author": "DecafDev", diff --git a/package.json b/package.json index b34d743..1fafe50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-vault-explorer", - "version": "1.18.0", + "version": "1.18.1", "description": "Explore your vault in visual format", "main": "main.js", "scripts": { diff --git a/src/constants.ts b/src/constants.ts index e2ddd8a..00a7f04 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,13 +1,10 @@ import { LOG_LEVEL_WARN } from "./logger/constants"; -import { generateRandomId } from "./svelte/shared/services/random"; import { VaultExplorerPluginSettings, TExplorerView } from "./types"; export const VAULT_EXPLORER_VIEW = "vault-explorer"; export const HOVER_LINK_SOURCE_ID = "vault-explorer-preview"; -const randomGroupId = generateRandomId(); - export const DEFAULT_SETTINGS: VaultExplorerPluginSettings = { logLevel: LOG_LEVEL_WARN, properties: { @@ -38,17 +35,8 @@ export const DEFAULT_SETTINGS: VaultExplorerPluginSettings = { }, custom: { isEnabled: true, - selectedGroupId: randomGroupId, - groups: - [ - { - id: randomGroupId, - name: "Group 1", - rules: [], - isEnabled: true, - isSticky: false - } - ] + selectedGroupId: "", + groups: [] } }, views: { diff --git a/src/svelte/properties-filter-app/index.svelte b/src/svelte/properties-filter-app/index.svelte index 1428737..fbb65da 100644 --- a/src/svelte/properties-filter-app/index.svelte +++ b/src/svelte/properties-filter-app/index.svelte @@ -61,7 +61,8 @@ id: generateRandomId(), name: `Group ${groups.length + 1}`, rules: [createPropertyFilter()], - isEnabled: groups.length === 0, + isEnabled: false, + isSticky: false, }; selectedGroupId = newGroup.id; diff --git a/versions.json b/versions.json index 8a7c585..0e6d773 100644 --- a/versions.json +++ b/versions.json @@ -76,5 +76,6 @@ "1.17.0": "1.4.13", "1.17.1": "1.4.13", "1.17.2": "1.4.13", - "1.18.0": "1.4.13" + "1.18.0": "1.4.13", + "1.18.1": "1.4.13" }