Skip to content

Commit bfba068

Browse files
feat: hide workspace if no readme.md
Signed-off-by: Luka Trovic <luka@nextcloud.com>
1 parent ff8c2d0 commit bfba068

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/views/RichWorkspace.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
-->
2222

2323
<template>
24-
<div v-if="enabled" id="rich-workspace" :class="{'focus': focus, 'dark': darkTheme, 'creatable': canCreate }">
24+
<div v-if="enabled"
25+
v-show="file"
26+
id="rich-workspace"
27+
:class="{'focus': focus, 'dark': darkTheme, 'creatable': canCreate }">
2528
<SkeletonLoading v-if="!loaded || !ready" />
2629
<Editor v-if="file"
2730
v-show="ready"

0 commit comments

Comments
 (0)