Skip to content

Commit 79435ce

Browse files
committed
lint: fix
1 parent 7fe2cd9 commit 79435ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/runtime/composables/useStudio.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ export const useStudio = () => {
297297
if (!content) {
298298
// Do not navigate to another page if content is not found
299299
// This makes sure that user stays on the same page when navigation through directories in the editor
300-
} else if (content._partial || !String(payload.path).endsWith('.md')) {
300+
}
301+
else if (content._partial || !String(payload.path).endsWith('.md')) {
301302
// Partials and non-markdown files should use as helpers for other content files, like `_dir.yml`
302303
// We should not navigate if content is a partial or non-markdown file
303304
}

0 commit comments

Comments
 (0)