@qnote/q-ai-note 1.0.7 → 1.0.8
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/dist/web/app.js +2 -3
- package/dist/web/styles.css +5 -0
- package/package.json +1 -1
package/dist/web/app.js
CHANGED
|
@@ -182,8 +182,6 @@ function applyReadonlyMode() {
|
|
|
182
182
|
if (systemSettingsNav instanceof HTMLElement) {
|
|
183
183
|
systemSettingsNav.classList.toggle('hidden', !state.canAccessSystemSettings);
|
|
184
184
|
}
|
|
185
|
-
setHiddenById('page-settings', !state.pageAccess.settings);
|
|
186
|
-
setHiddenById('page-system-settings', !state.canAccessSystemSettings);
|
|
187
185
|
setHiddenById('add-sandbox-btn', state.readonly || !state.fullAccess);
|
|
188
186
|
setHiddenById('add-item-btn', state.readonly || !state.currentSandboxWritable);
|
|
189
187
|
setHiddenById('toggle-node-entity-form-btn', state.readonly || !state.currentSandboxWritable);
|
|
@@ -2227,7 +2225,8 @@ function showPage(pageId) {
|
|
|
2227
2225
|
}
|
|
2228
2226
|
|
|
2229
2227
|
document.querySelectorAll('.nav-list a').forEach(a => a.classList.remove('active'));
|
|
2230
|
-
const
|
|
2228
|
+
const navPageId = pageId === 'sandbox-detail' ? 'sandboxes' : pageId;
|
|
2229
|
+
const nav = document.querySelector(`[data-nav="${navPageId}"]`);
|
|
2231
2230
|
if (nav) nav.classList.add('active');
|
|
2232
2231
|
}
|
|
2233
2232
|
|
package/dist/web/styles.css
CHANGED