Sha256: 87e8e284d4b70e83ad85547bbc39b5d11f5d450b394d87f102d2626ee1d8cf77
Contents?: true
Size: 895 Bytes
Versions: 17
Compression:
Stored size: 895 Bytes
Contents
<template> <div class="field is-grouped is-grouped-multiline"> <div class="control" v-for="(dnsRecord, index) in dnsRecords" :key="index"> <div class="tags has-addons are-medium"> <span class="tag is-dark"> {{ dnsRecord.resource }}</span> <router-link class="tag" :to="{ name: 'Alerts', query: { dnsRecord: dnsRecord.value } }" > {{ truncate(dnsRecord.value, 50) }} </router-link> </div> </div> </div> </template> <script lang="ts"> import truncate from "truncate" import { defineComponent, type PropType } from "vue" import type { DnsRecord } from "@/types" export default defineComponent({ name: "DnsRecords", props: { dnsRecords: { type: Array as PropType<DnsRecord[]>, required: true } }, setup() { return { truncate } } }) </script>
Version data entries
17 entries across 17 versions & 1 rubygems