Frontend: Default to create new album in dialog #326

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-07-21 23:32:59 +02:00
parent 0ad9789d3f
commit 8767155346

View file

@ -4,7 +4,7 @@
<v-container fluid class="pb-2 pr-2 pl-2"> <v-container fluid class="pb-2 pr-2 pl-2">
<v-layout row wrap> <v-layout row wrap>
<v-flex xs3 text-xs-center> <v-flex xs3 text-xs-center>
<v-icon size="54" color="secondary-dark lighten-1" v-if="newAlbum">create_new_folder</v-icon> <v-icon size="54" color="secondary-dark lighten-1" v-if="!album">create_new_folder</v-icon>
<v-icon size="54" color="secondary-dark lighten-1" v-else>folder</v-icon> <v-icon size="54" color="secondary-dark lighten-1" v-else>folder</v-icon>
</v-flex> </v-flex>
<v-flex xs9 text-xs-left align-self-center> <v-flex xs9 text-xs-left align-self-center>
@ -32,7 +32,7 @@
</v-btn> </v-btn>
<v-btn color="secondary-dark" depressed dark @click.stop="confirm" <v-btn color="secondary-dark" depressed dark @click.stop="confirm"
class="action-confirm"> class="action-confirm">
<span v-if="newAlbum">{{ labels.createAlbum }}</span> <span v-if="!album">{{ labels.createAlbum }}</span>
<span v-else>{{ labels.addToAlbum }}</span> <span v-else>{{ labels.addToAlbum }}</span>
</v-btn> </v-btn>
</v-flex> </v-flex>