mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
This commit is contained in:
parent
1bacf63b0c
commit
b0229e6c7a
15 changed files with 48 additions and 40 deletions
|
|
@ -342,7 +342,7 @@ export class Outline extends Model {
|
|||
const docTitleElement = this.headerElement.nextElementSibling as HTMLElement;
|
||||
if (this.type === "pin") {
|
||||
if (ial) {
|
||||
let iconHTML = `${unicode2Emoji(ial.icon || Constants.SIYUAN_IMAGE_FILE, "b3-list-item__graphic", true)}`;
|
||||
let iconHTML = `${unicode2Emoji(ial.icon || window.siyuan.storage[Constants.LOCAL_IMAGES].file, "b3-list-item__graphic", true)}`;
|
||||
if (ial.icon === Constants.ZWSP && docTitleElement.firstElementChild) {
|
||||
iconHTML = docTitleElement.firstElementChild.outerHTML;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue