1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-02 00:38:25 +09:00

[Client] Fix bug

This commit is contained in:
syuilo 2018-11-09 14:10:50 +09:00
parent ae6293cb6b
commit 4dcb15ef0d
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 2 additions and 10 deletions

View File

@ -1,7 +1,7 @@
<template>
<mk-window ref="window" is-modal width="800px" height="500px" @closed="destroyDom">
<span slot="header">
<span v-html="title" :class="$style.title"></span>
<span :class="$style.title">{{ $t('choose-prompt') }}</span>
<span :class="$style.count" v-if="multiple && files.length > 0">({{ $t('chosen-files', { count: files.length }) }})</span>
</span>
@ -28,9 +28,6 @@ export default Vue.extend({
props: {
multiple: {
default: false
},
title: {
default: () => this.$t('choose-prompt')
}
},
data() {

View File

@ -1,7 +1,7 @@
<template>
<mk-window ref="window" is-modal width="800px" height="500px" @closed="destroyDom">
<span slot="header">
<span v-html="title" :class="$style.title"></span>
<span :class="$style.title">{{ $t('choose-prompt') }}</span>
</span>
<mk-drive
@ -21,11 +21,6 @@ import Vue from 'vue';
import i18n from '../../../i18n';
export default Vue.extend({
i18n: i18n('desktop/views/components/choose-folder-from-drive-window.vue'),
props: {
title: {
default: () => this.$t('choose-prompt')
}
},
methods: {
ok() {
this.$emit('selected', (this.$refs.browser as any).folder);