Browse Source

feat(gui-v2): add deleteCache

pull/3130/head
Wing-Kam Wong 2 years ago
parent
commit
f975c4bf92
  1. 9
      packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/index.vue

9
packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/index.vue

@ -30,7 +30,14 @@ async function exportCache() {
}
}
function deleteCache() {}
async function deleteCache() {
try {
await api.utils.cacheDelete()
message.info('Deleted Cache Successfully')
} catch (e: any) {
message.error(e.message)
}
}
</script>
<template>

Loading…
Cancel
Save