mirror of
https://github.com/zadam/trilium.git
synced 2025-11-28 19:44:24 +01:00
chore(collections/board): hide "Add new column" while loading
This commit is contained in:
parent
408073ee19
commit
706da768e2
@ -164,12 +164,12 @@ export default function BoardView({ note: parentNote, noteIds, viewConfig, saveC
|
||||
onWheel={onWheelHorizontalScroll}
|
||||
>
|
||||
<BoardViewContext.Provider value={boardViewContext}>
|
||||
<div
|
||||
{byColumn && columns && <div
|
||||
className="board-view-container"
|
||||
onDragOver={handleColumnDragOver}
|
||||
onDrop={handleContainerDrop}
|
||||
>
|
||||
{byColumn && columns?.map((column, index) => (
|
||||
{columns.map((column, index) => (
|
||||
<>
|
||||
{columnDropPosition === index && (
|
||||
<div className="column-drop-placeholder show" />
|
||||
@ -191,7 +191,7 @@ export default function BoardView({ note: parentNote, noteIds, viewConfig, saveC
|
||||
)}
|
||||
|
||||
<AddNewColumn api={api} isInRelationMode={isInRelationMode} />
|
||||
</div>
|
||||
</div>}
|
||||
</BoardViewContext.Provider>
|
||||
</div>
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user