This commit is contained in:
parent
040a4b3865
commit
12a947e6dc
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ const genWorkspace = (workspaceDirElement: Element) => {
|
|||
fetchPost("/api/system/listWorkspaceDirs", {}, (response) => {
|
||||
let html = "";
|
||||
response.data.forEach((item: string) => {
|
||||
html += `<li data-path="${item}" class="b3-list-item${window.siyuan.config.system.workspaceDir === item ? " b3-list-item--focus" : ""}">
|
||||
html += `<li data-path="${item}" class="b3-list-item b3-list-item--narrow${window.siyuan.config.system.workspaceDir === item ? " b3-list-item--focus" : ""}">
|
||||
<span class="b3-list-item__text">${pathPosix().basename(item)}</span>
|
||||
<span data-type="remove" class="b3-list-item__action">
|
||||
<svg><use xlink:href="#iconTrashcan"></use></svg>
|
||||
|
|
Loading…
Add table
Reference in a new issue