mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 08:16:00 +00:00
shell tab
This commit is contained in:
15
packages/web/src/query/RunnerOutputFiles/ShowLink.svelte
Normal file
15
packages/web/src/query/RunnerOutputFiles/ShowLink.svelte
Normal file
@@ -0,0 +1,15 @@
|
||||
<script lang="ts">
|
||||
import getElectron from '../../utility/getElectron';
|
||||
|
||||
const electron = getElectron();
|
||||
export let row;
|
||||
</script>
|
||||
|
||||
<a
|
||||
href="#"
|
||||
on:click={() => {
|
||||
electron.remote.shell.showItemInFolder(row.path);
|
||||
}}
|
||||
>
|
||||
show
|
||||
</a>
|
||||
Reference in New Issue
Block a user