@objectivex666/dsh-settings-search 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +4 -2
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -87,8 +87,10 @@ window.__ModuleLoader__.load({
|
|
|
87
87
|
function apply(ctx) {
|
|
88
88
|
ctx.effect(() => ctx.locale.register(NS, { zh, en }), 'settings-search: dictionaries')
|
|
89
89
|
const t = ctx.locale.bind(NS)
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
ctx.effect(() => {
|
|
91
|
+
const remove = installStyles()
|
|
92
|
+
return () => { if (typeof remove === 'function') remove() }
|
|
93
|
+
}, 'settings-search: styles')
|
|
92
94
|
|
|
93
95
|
const readSections = () => ctx.slots.entries('settings.section')
|
|
94
96
|
.filter((e) => e.options.id !== 'settings-search')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@objectivex666/dsh-settings-search",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "DSH settings panel search plugin – instantly filter setting sections and general items with navigation guidance. Installable via `dsh plugin add`.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|