fix(workspace): tags count update dynamique via /api/local-workspace/tags
This commit is contained in:
@@ -2269,7 +2269,7 @@ window._wsInitData = (function() {
|
|||||||
// ── Tag management ──
|
// ── Tag management ──
|
||||||
async loadWorkspaceTags() {
|
async loadWorkspaceTags() {
|
||||||
try {
|
try {
|
||||||
var r = await fetch('/api/settings/tags/all');
|
var r = await fetch('/api/local-workspace/tags');
|
||||||
var d = await r.json();
|
var d = await r.json();
|
||||||
this.workspaceTags = d.tags || [];
|
this.workspaceTags = d.tags || [];
|
||||||
} catch(e) { this.workspaceTags = []; }
|
} catch(e) { this.workspaceTags = []; }
|
||||||
|
|||||||
Reference in New Issue
Block a user