2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00

fix(ux): add import more button on complete

This commit is contained in:
18alantom 2022-03-01 14:54:12 +05:30 committed by Alan
parent f0e5e294a1
commit 2f6ecff36b

View File

@ -306,11 +306,16 @@
</p> </p>
</div> </div>
</div> </div>
<Button type="primary" class="text-sm w-28" @click="showMe">{{ <div class="flex w-full justify-between">
<Button type="secondary" class="text-sm w-32" @click="clear">{{
t`Import More`
}}</Button>
<Button type="primary" class="text-sm w-32" @click="showMe">{{
t`Show Me` t`Show Me`
}}</Button> }}</Button>
</div> </div>
</div> </div>
</div>
<div <div
v-if="!importType" v-if="!importType"
class="flex justify-center h-full w-full items-center mb-16" class="flex justify-center h-full w-full items-center mb-16"
@ -480,6 +485,9 @@ export default {
this.importType = ''; this.importType = '';
this.complete = false; this.complete = false;
this.canReset = false; this.canReset = false;
this.isMakingEntries = false;
this.percentLoading = 0;
this.messageLoading = '';
}, },
handlePrimaryClick() { handlePrimaryClick() {
if (!this.file) { if (!this.file) {