Hide modal cancel button by default

This commit is contained in:
Roman Cervantes 2019-02-21 10:03:43 -07:00
parent 43a09f226c
commit be7e2fcfb7
4 changed files with 5 additions and 5 deletions

View file

@ -5,6 +5,7 @@
ref="addList"
message="Pick an option below"
padded
show-close
:action-text="$t('global.create')"
:title="$t('list.add')"
:action-disabled="isDuplicate || !newListName"
@ -58,7 +59,6 @@
message="Use tags to better organize your games"
large
padded
:show-close="false"
>
<button
class="small info"
@ -75,6 +75,7 @@
:message="`Your ${platform.name} collection will be deleted forever.`"
title="Are you sure?"
padded
show-close
@action="deletePlatform"
>
<button
@ -107,6 +108,7 @@
<modal
padded
:hide-close="true"
title="Settings"
>
<button class="accent small">

View file

@ -44,7 +44,7 @@ export default {
message: String,
showClose: {
type: Boolean,
default: true,
default: false,
},
closeText: {
type: String,

View file

@ -16,7 +16,7 @@
</router-link>
<div class="links" v-if="user">
<modal title="Releases" large :show-close="false" padded>
<modal title="Releases" large padded>
<button class="primary filled small">
<i class="fas fa-bullhorn" />
What's new

View file

@ -12,7 +12,6 @@
ref="game"
large
no-padding
:show-close="false"
@close="closeGame"
>
<game-detail slot="content" :id="gameDetailId" v-if="gameDetailId" />
@ -22,7 +21,6 @@
ref="tag"
title="Apply tag"
message="Use tags to better organize your games"
:show-close="false"
>
<div slot="content">
<div class="tags" v-for="(tag, name) in tags" :key="name">