Search fixes (#134)

* Search fixes

* Fix small instance ui

* fix javaw issue

* menu fix

* Add confirm modal for deletion

* fix build
This commit is contained in:
Geometrically
2023-06-11 15:26:25 -07:00
committed by GitHub
parent e836738887
commit 3535f0c4b4
24 changed files with 796 additions and 576 deletions

View File

@@ -67,7 +67,7 @@ const showCard = ref(false)
const currentProcesses = ref(await getRunningProfiles().catch(handleError))
await process_listener(async () => {
const unlistenProcess = await process_listener(async () => {
await refresh()
})
@@ -91,7 +91,7 @@ const goToTerminal = () => {
const currentLoadingBars = ref(Object.values(await progress_bars_list().catch(handleError)))
await loading_listener(async () => {
const unlistenLoading = await loading_listener(async () => {
await refreshInfo()
})
@@ -128,6 +128,8 @@ onMounted(() => {
onBeforeUnmount(() => {
window.removeEventListener('click', handleClickOutside)
unlistenProcess()
unlistenLoading()
})
</script>