Skip to content

Commit

Permalink
Merge pull request #4811 from nextcloud/backport/4771/stable27
Browse files Browse the repository at this point in the history
[stable27] feat: hide workspace if no readme.md
  • Loading branch information
mejo- authored Sep 21, 2023
2 parents 4e6628f + b398ef7 commit 0a6395b
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 19 deletions.
4 changes: 2 additions & 2 deletions js/editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-editors.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-editors.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/views/RichWorkspace.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
-->

<template>
<div v-if="enabled" id="rich-workspace" :class="{'focus': focus, 'dark': darkTheme, 'creatable': canCreate }">
<div v-if="enabled"
v-show="file"
id="rich-workspace"
:class="{'focus': focus, 'dark': darkTheme, 'creatable': canCreate }">
<SkeletonLoading v-if="!loaded || !ready" />
<Editor v-if="file"
v-show="ready"
Expand Down

0 comments on commit 0a6395b

Please sign in to comment.