mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-10-20 21:59:27 +08:00
feat: add db selection for new key dialog
refactor: remove unused code
This commit is contained in:
@@ -8,6 +8,8 @@ import Filter from '../icons/Filter.vue'
|
||||
import useTabStore from '../../stores/tab.js'
|
||||
import { computed } from 'vue'
|
||||
import { get } from 'lodash'
|
||||
import Delete from '../icons/Delete.vue'
|
||||
import Refresh from '../icons/Refresh.vue'
|
||||
|
||||
const tabStore = useTabStore()
|
||||
const currentName = computed(() => get(tabStore.currentTab, 'name', ''))
|
||||
@@ -19,8 +21,9 @@ const currentName = computed(() => get(tabStore.currentTab, 'name', ''))
|
||||
|
||||
<!-- bottom function bar -->
|
||||
<div class="nav-pane-bottom flex-box-h">
|
||||
<icon-button :icon="AddLink" color="#555" size="20" stroke-width="4" t-tooltip="new_conn" />
|
||||
<icon-button :icon="AddGroup" color="#555" size="20" stroke-width="4" t-tooltip="new_group" />
|
||||
<icon-button :icon="AddLink" color="#555" size="20" stroke-width="4" t-tooltip="new_key" />
|
||||
<icon-button :icon="Delete" color="#555" size="20" stroke-width="4" t-tooltip="remove_key" />
|
||||
<icon-button :icon="Refresh" color="#555" size="20" stroke-width="4" t-tooltip="reload" />
|
||||
<n-input placeholder="">
|
||||
<template #prefix>
|
||||
<n-icon :component="Filter" color="#aaa" size="20" />
|
||||
|
||||
Reference in New Issue
Block a user