mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
eb597e719d
commit
165457429b
9 changed files with 200 additions and 86 deletions
|
|
@ -67,22 +67,22 @@ export const getAllTabs = () => {
|
|||
|
||||
export const getAllDocks = () => {
|
||||
const docks: IDockTab[] = [];
|
||||
window.siyuan.config.uiLayout.left.forEach((item: IDockTab[]) => {
|
||||
window.siyuan.config.uiLayout.left.data.forEach((item: IDockTab[]) => {
|
||||
item.forEach((dock: IDockTab) => {
|
||||
docks.push(dock);
|
||||
});
|
||||
});
|
||||
window.siyuan.config.uiLayout.right.forEach((item: IDockTab[]) => {
|
||||
window.siyuan.config.uiLayout.right.data.forEach((item: IDockTab[]) => {
|
||||
item.forEach((dock: IDockTab) => {
|
||||
docks.push(dock);
|
||||
});
|
||||
});
|
||||
window.siyuan.config.uiLayout.top.forEach((item: IDockTab[]) => {
|
||||
window.siyuan.config.uiLayout.top.data.forEach((item: IDockTab[]) => {
|
||||
item.forEach((dock: IDockTab) => {
|
||||
docks.push(dock);
|
||||
});
|
||||
});
|
||||
window.siyuan.config.uiLayout.bottom.forEach((item: IDockTab[]) => {
|
||||
window.siyuan.config.uiLayout.bottom.data.forEach((item: IDockTab[]) => {
|
||||
item.forEach((dock: IDockTab) => {
|
||||
docks.push(dock);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue