@tzyc/dsh-model-visibility 1.10.0 → 1.10.1
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/README.md +2 -2
- package/client-src/settings-section.mjs +1 -0
- package/client.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
[](LICENSE)
|
|
10
10
|
[](package.json)
|
|
11
|
-
[](test)
|
|
12
|
+
[](https://github.com/TZYCeng/dsh-model-visibility/releases)
|
|
13
13
|
[](https://awesome-dsh-plugin.com/p/TZYCeng/dsh-model-visibility/)
|
|
14
14
|
|
|
15
15
|
</div>
|
|
@@ -32,6 +32,7 @@ function makeSection(form, catalog, overrides, usage, verify) {
|
|
|
32
32
|
const hostFeatures =
|
|
33
33
|
catalogMeta && Array.isArray(catalogMeta.features) ? catalogMeta.features : []
|
|
34
34
|
const canEdit = state.source === 'host' && hostFeatures.includes('overrides')
|
|
35
|
+
const canVerify = state.source === 'host' && hostFeatures.includes('verify')
|
|
35
36
|
const overrideEntries = new Map()
|
|
36
37
|
for (const entry of overrideState.entries) {
|
|
37
38
|
overrideEntries.set(overrideKeyOf(entry), entry)
|
package/client.js
CHANGED
|
@@ -2245,6 +2245,7 @@ window.__ModuleLoader__.load({
|
|
|
2245
2245
|
const hostFeatures =
|
|
2246
2246
|
catalogMeta && Array.isArray(catalogMeta.features) ? catalogMeta.features : []
|
|
2247
2247
|
const canEdit = state.source === 'host' && hostFeatures.includes('overrides')
|
|
2248
|
+
const canVerify = state.source === 'host' && hostFeatures.includes('verify')
|
|
2248
2249
|
const overrideEntries = new Map()
|
|
2249
2250
|
for (const entry of overrideState.entries) {
|
|
2250
2251
|
overrideEntries.set(overrideKeyOf(entry), entry)
|