mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
fix cannot show hidden account when use set sortable in more action menu
This commit is contained in:
@@ -124,7 +124,7 @@
|
|||||||
</f7-card>
|
</f7-card>
|
||||||
<f7-actions close-by-outside-click close-on-escape :opened="showMoreActionSheet" @actions:closed="showMoreActionSheet = false">
|
<f7-actions close-by-outside-click close-on-escape :opened="showMoreActionSheet" @actions:closed="showMoreActionSheet = false">
|
||||||
<f7-actions-group>
|
<f7-actions-group>
|
||||||
<f7-actions-button @click="sortable = true">{{ $t('Sort') }}</f7-actions-button>
|
<f7-actions-button @click="setSortable()">{{ $t('Sort') }}</f7-actions-button>
|
||||||
</f7-actions-group>
|
</f7-actions-group>
|
||||||
<f7-actions-group>
|
<f7-actions-group>
|
||||||
<f7-actions-button bold close>{{ $t('Cancel') }}</f7-actions-button>
|
<f7-actions-button bold close>{{ $t('Cancel') }}</f7-actions-button>
|
||||||
@@ -401,6 +401,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
setSortable() {
|
setSortable() {
|
||||||
|
if (this.sortable) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.showHidden = true;
|
this.showHidden = true;
|
||||||
this.sortable = true;
|
this.sortable = true;
|
||||||
this.displayOrderModified = false;
|
this.displayOrderModified = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user