refactor: ♻️ open instance as lookup window
This commit is contained in:
parent
5e0a0df262
commit
1db5beb41b
|
@ -41,9 +41,9 @@
|
|||
<div class="jobs">
|
||||
<div v-if="jobs.length > 0">
|
||||
<div v-for="job in jobs" :key="job[0]">
|
||||
<a :href="`https://${job[0]}`" class="_link"
|
||||
><span>{{ job[0] }}</span></a
|
||||
>
|
||||
<a @click.stop="lookupInstance(job[0])" class="_link">
|
||||
{{ job[0] }}
|
||||
</a>
|
||||
<span style="margin-left: 8px; opacity: 0.7"
|
||||
>({{ number(job[1]) }} jobs)</span
|
||||
>
|
||||
|
@ -59,6 +59,7 @@ import { markRaw, onMounted, onUnmounted, ref } from "vue";
|
|||
import XChart from "./queue.chart.chart.vue";
|
||||
import number from "@/filters/number";
|
||||
import * as os from "@/os";
|
||||
import { lookupInstance } from "@/scripts/lookup-instance";
|
||||
import { stream } from "@/stream";
|
||||
import { i18n } from "@/i18n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue