Merge pull request #1694 from nextcloud/artonge/feat/set_visibility_direct_when_direct_view

Set visibility as direct when on direct view
pull/1702/head
Maxence Lange 2023-03-23 10:16:44 -01:00 zatwierdzone przez GitHub
commit 03d51eae16
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -25,7 +25,7 @@
</div>
</div>
</transition>
<Composer v-if="type !== 'notifications' && type !== 'single-post'" />
<Composer v-if="type !== 'notifications' && type !== 'single-post'" :default-visibility="type === 'direct' ? 'direct' : undefined" />
<h2 v-if="type === 'tags'">
#{{ $route.params.tag }}
</h2>