mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 03:47:40 -07:00
refactor: ♻️ open instance as lookup window
This commit is contained in:
parent
d9e117b378
commit
e66fc4ddda
1 changed files with 4 additions and 3 deletions
|
@ -41,9 +41,9 @@
|
||||||
<div class="jobs">
|
<div class="jobs">
|
||||||
<div v-if="jobs.length > 0">
|
<div v-if="jobs.length > 0">
|
||||||
<div v-for="job in jobs" :key="job[0]">
|
<div v-for="job in jobs" :key="job[0]">
|
||||||
<a :href="`https://${job[0]}`" class="_link"
|
<a @click.stop="lookupInstance(job[0])" class="_link">
|
||||||
><span>{{ job[0] }}</span></a
|
{{ job[0] }}
|
||||||
>
|
</a>
|
||||||
<span style="margin-left: 8px; opacity: 0.7"
|
<span style="margin-left: 8px; opacity: 0.7"
|
||||||
>({{ number(job[1]) }} jobs)</span
|
>({{ number(job[1]) }} jobs)</span
|
||||||
>
|
>
|
||||||
|
@ -59,6 +59,7 @@ import { markRaw, onMounted, onUnmounted, ref } from "vue";
|
||||||
import XChart from "./queue.chart.chart.vue";
|
import XChart from "./queue.chart.chart.vue";
|
||||||
import number from "@/filters/number";
|
import number from "@/filters/number";
|
||||||
import * as os from "@/os";
|
import * as os from "@/os";
|
||||||
|
import { lookupInstance } from "@/scripts/lookup-instance";
|
||||||
import { stream } from "@/stream";
|
import { stream } from "@/stream";
|
||||||
import { i18n } from "@/i18n";
|
import { i18n } from "@/i18n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue