upd: replace pencil icon, widget icon
This commit is contained in:
parent
e3525b82f9
commit
9b0d078fba
49 changed files with 65 additions and 65 deletions
|
|
@ -40,9 +40,9 @@ export async function getNoteVersionsMenu(props: {
|
|||
const _time = edit.oldDate == null ? NaN :
|
||||
typeof edit.oldDate === 'number' ? edit.oldDate :
|
||||
(edit.oldDate instanceof Date ? edit.oldDate : new Date(edit.oldDate)).getTime();
|
||||
|
||||
|
||||
menu.push({
|
||||
icon: 'ph-pencil ph-bold ph-lg',
|
||||
icon: 'ph-pencil-simple ph-bold ph-lg',
|
||||
text: _time ? dateTimeFormat.format(_time) : dateTimeFormat.format(new Date(edit.updatedAt)),
|
||||
action: () => openVersion(edit),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue