reorder the button display order
This commit is contained in:
@@ -99,10 +99,10 @@
|
||||
|
||||
<f7-actions close-by-outside-click close-on-escape :opened="showMoreActionSheet" @actions:closed="showMoreActionSheet = false">
|
||||
<f7-actions-group v-if="isSupportedFileCache && fileCacheStatistics">
|
||||
<f7-actions-button :class="{ 'disabled': loading || !isSupportedFileCache || !fileCacheStatistics }"
|
||||
@click="clearMapCache">{{ tt('Clear Map Data Cache') }}</f7-actions-button>
|
||||
<f7-actions-button :class="{ 'disabled': loading || !isSupportedFileCache || !fileCacheStatistics }"
|
||||
@click="clearApplicationCodeFileCache">{{ tt('Clear Application Code Cache') }}</f7-actions-button>
|
||||
<f7-actions-button :class="{ 'disabled': loading || !isSupportedFileCache || !fileCacheStatistics }"
|
||||
@click="clearMapCache">{{ tt('Clear Map Data Cache') }}</f7-actions-button>
|
||||
<f7-actions-button :class="{ 'disabled': loading || !isSupportedFileCache || !fileCacheStatistics }"
|
||||
@click="clearAllFileCache">{{ tt('Clear All File Cache') }}</f7-actions-button>
|
||||
</f7-actions-group>
|
||||
@@ -160,17 +160,17 @@ function reloadCacheStatistics(done?: () => void): void {
|
||||
});
|
||||
}
|
||||
|
||||
function clearMapCache(): void {
|
||||
showConfirm('Are you sure you want to clear map data cache?', () => {
|
||||
clearMapDataCache().then(() => {
|
||||
function clearApplicationCodeFileCache(): void {
|
||||
showConfirm('Are you sure you want to clear application code cache?', () => {
|
||||
clearApplicationCodeCache().then(() => {
|
||||
loadCacheStatistics(true);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function clearApplicationCodeFileCache(): void {
|
||||
showConfirm('Are you sure you want to clear application code cache?', () => {
|
||||
clearApplicationCodeCache().then(() => {
|
||||
function clearMapCache(): void {
|
||||
showConfirm('Are you sure you want to clear map data cache?', () => {
|
||||
clearMapDataCache().then(() => {
|
||||
loadCacheStatistics(true);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user