account list page supports displaying hidden account

This commit is contained in:
MaysWind
2021-01-05 23:08:34 +08:00
parent f516576b64
commit 14c2320267
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -541,6 +541,8 @@ export default {
'You have saved this account': 'You have saved this account',
'Unable to add account': 'Unable to add account',
'Unable to save account': 'Unable to save account',
'Show Hidden Account': 'Show Hidden Account',
'Hide Hidden Account': 'Hide Hidden Account',
'Unable to get account': 'Unable to get account',
'Unable to hide this account': 'Unable to hide this account',
'Unable to unhide this account': 'Unable to unhide this account',
+2
View File
@@ -541,6 +541,8 @@ export default {
'You have saved this account': '您已经保存该账户',
'Unable to add account': '无法添加账户',
'Unable to save account': '无法保存账户',
'Show Hidden Account': '显示隐藏账户',
'Hide Hidden Account': '隐藏隐藏账户',
'Unable to get account': '无法获取账户',
'Unable to hide this account': '无法隐藏账户',
'Unable to unhide this account': '无法取消隐藏账户',
+2
View File
@@ -179,6 +179,8 @@
<f7-actions close-by-outside-click close-on-escape :opened="showMoreActionSheet" @actions:closed="showMoreActionSheet = false">
<f7-actions-group>
<f7-actions-button @click="setSortable()">{{ $t('Sort') }}</f7-actions-button>
<f7-actions-button v-if="!showHidden" @click="showHidden = true">{{ $t('Show Hidden Account') }}</f7-actions-button>
<f7-actions-button v-if="showHidden" @click="showHidden = false">{{ $t('Hide Hidden Account') }}</f7-actions-button>
</f7-actions-group>
<f7-actions-group>
<f7-actions-button bold close>{{ $t('Cancel') }}</f7-actions-button>