diff --git a/app/src/assets/scss/component/_chip.scss b/app/src/assets/scss/component/_chip.scss index 355e0d300..1af2d9841 100644 --- a/app/src/assets/scss/component/_chip.scss +++ b/app/src/assets/scss/component/_chip.scss @@ -36,6 +36,12 @@ font-size: 12px; } + &--list { + padding: 0 4px; + margin-right: 4px; + font-family: var(--b3-font-family-code); + } + &--secondary { background-color: var(--b3-theme-secondary); color: var(--b3-theme-on-secondary); diff --git a/app/src/history/history.ts b/app/src/history/history.ts index 14537efcb..c593d635b 100644 --- a/app/src/history/history.ts +++ b/app/src/history/history.ts @@ -537,7 +537,7 @@ const bindEvent = (app: App, element: Element, dialog?: Dialog) => { const opElement = firstPanelElement.querySelector('.b3-select[data-type="opselect"]') as HTMLSelectElement; const typeElement = firstPanelElement.querySelector('.b3-select[data-type="typeselect"]') as HTMLSelectElement; const notebookElement = firstPanelElement.querySelector('.b3-select[data-type="notebookselect"]') as HTMLSelectElement; - const created = target.getAttribute("data-created"); + const created = target.getAttribute("data-created"); fetchPost("/api/history/getHistoryItems", { notebook: notebookElement.value, query: inputElement.value, @@ -547,11 +547,26 @@ const bindEvent = (app: App, element: Element, dialog?: Dialog) => { }, (response) => { iconElement.classList.add("b3-list-item__arrow--open"); let html = ""; - response.data.items.forEach((docItem: { title: string, path: string }) => { - html += `
`;