fix(core): update

This commit is contained in:
Philipp Kunz 2023-04-10 00:18:16 +02:00
parent a3bc25c4ac
commit 710e06b2f1
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@designestate/dees-catalog', name: '@designestate/dees-catalog',
version: '1.0.166', version: '1.0.167',
description: 'website for lossless.com' description: 'website for lossless.com'
} }

View File

@ -167,7 +167,7 @@ export class DeesDataviewCodebox extends DeesElement {
this.codeToDisplayStore = smartstring.indent.normalize(this.codeToDisplay).trimStart(); this.codeToDisplayStore = smartstring.indent.normalize(this.codeToDisplay).trimStart();
} }
if (slottedCodeNodes[0] && slottedCodeNodes[0].wholeText && !this.codeToDisplay) { if (slottedCodeNodes[0] && slottedCodeNodes[0].wholeText && !this.codeToDisplay) {
this.codeToDisplayStore = smartstring.indent.normalize(slottedCodeNodes[0].wholeText); this.codeToDisplayStore = smartstring.indent.normalize(slottedCodeNodes[0].wholeText).trimStart();
this.codeToDisplay = this.codeToDisplayStore; this.codeToDisplay = this.codeToDisplayStore;
} }
await domtools.plugins.smartdelay.delayFor(0); await domtools.plugins.smartdelay.delayFor(0);