mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01:00
refactor: ♻️ open instance as lookup window
This commit is contained in:
parent
d9e117b378
commit
e66fc4ddda
@ -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
Block a user