ADD: Toggle profileConfig with header

This commit is contained in:
Robert Kossessa
2024-02-07 02:19:53 +01:00
parent f9b1d066d3
commit c9c70bc09e

View File

@@ -3,7 +3,7 @@
<div>
<div
class="w-full h-12 px-4 flex items-center justify-between flex-nowrap text-nowrap bg-zinc-900">
<button class="flex items-center min-w-0 font-heading" @click="showProfileConfig=false">
<button class="flex flex-1 items-center h-full min-w-0 font-heading" @click="showProfileConfig=store.selectedProfile && !showProfileConfig">
<component :is="showProfileConfig ? ArrowLeft : List" class="w-5 h-full mr-1 shrink-0" />
<ScrambleText
:text="showProfileConfig ? store.selectedProfile?.name : $t('profiles.title')"