mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
475 B
18 lines
475 B
2 years ago
|
<script setup lang="ts">
|
||
|
import { ReloadViewDataHookInj, inject } from '#imports'
|
||
|
|
||
|
const reloadHook = inject(ReloadViewDataHookInj)!
|
||
|
|
||
|
const onClick = () => reloadHook.trigger()
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<a-tooltip placement="bottom">
|
||
|
<template #title> {{ $t('general.reload') }} </template>
|
||
|
|
||
|
<div class="group flex align-center">
|
||
|
<MdiReload class="cursor-pointer text-gray-500 group-hover:(text-primary)" @click="onClick" />
|
||
|
</div>
|
||
|
</a-tooltip>
|
||
|
</template>
|