mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
🎨 Add Include time switch to database creation time field and update time field https://github.com/siyuan-note/siyuan/issues/12091
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
8e853fe66f
commit
67231dbf6a
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ export const getEditHTML = (options: {
|
||||||
<label class="b3-menu__item">
|
<label class="b3-menu__item">
|
||||||
<span class="fn__flex-center">${window.siyuan.languages.includeTime}</span>
|
<span class="fn__flex-center">${window.siyuan.languages.includeTime}</span>
|
||||||
<span class="fn__space fn__flex-1"></span>
|
<span class="fn__space fn__flex-1"></span>
|
||||||
<input data-type="includeTime" type="checkbox" class="b3-switch b3-switch--menu" ${colData[colData.type as "updated"].includeTime ? "checked" : ""}>
|
<input data-type="includeTime" type="checkbox" class="b3-switch b3-switch--menu" ${colData[colData.type as "updated"]?.includeTime ? "checked" : ""}>
|
||||||
</label>`;
|
</label>`;
|
||||||
}
|
}
|
||||||
html += `<button class="b3-menu__separator" data-id="separator_3"></button>
|
html += `<button class="b3-menu__separator" data-id="separator_3"></button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue