update deps; fix preview modal

This commit is contained in:
mProjectsCode 2023-12-12 21:07:49 +01:00
parent 26cf166a54
commit 5125e73cb4
19 changed files with 1365 additions and 1302 deletions

View file

@ -44,7 +44,7 @@ export class PropertyMappingModel {
return {
res: false,
err: new PropertyMappingNameConflictError(
`Multiple remapped properties (${propertiesWithSameTarget.map(x => x.toString()).toString()}) may not share the same name.`
`Multiple remapped properties (${propertiesWithSameTarget.map(x => x.toString()).toString()}) may not share the same name.`,
),
};
}

View file

@ -192,8 +192,8 @@ export class MediaDbSettingTab extends PluginSettingTab {
"For more syntax, refer to <a href='https://momentjs.com/docs/#/displaying/format/'>format reference</a>.<br>" +
"Your current syntax looks like this: <b><a id='media-db-dateformat-preview' style='pointer-events: none; cursor: default; text-decoration: none;'>" +
this.plugin.dateFormatter.getPreview() +
'</a></b>'
)
'</a></b>',
),
)
.addText(cb => {
cb.setPlaceholder(DEFAULT_SETTINGS.customDateFormat)