Skip to content

Commit 0730362

Browse files
authored
Merge pull request #4771 from nextcloud/feature/hide-rich-workspace-if-no-readme
2 parents 33f004e + 6ed2d08 commit 0730362

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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)