Set visibility as direct when on direct view

Signed-off-by: Louis Chemineau <louis@chmn.me>
pull/1694/head
Louis Chemineau 2023-03-21 14:47:48 +01:00
rodzic a5dd2c0eee
commit f7db309da5
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>