Resurrect list of apinodes requiring sign in

This commit is contained in:
Austin Mroz
2026-04-07 18:55:24 -07:00
parent 4078f8be8f
commit 555c6ab77e
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<template>
<div class="flex h-full flex-col gap-3">
<div class="flex text-xs">
<div>{{ t('apiNodesCostBreakdown.title') }}</div>
</div>
<ScrollPanel class="h-0 grow">
<div class="flex flex-col gap-2">
<div
v-for="nodeName in nodeNames"
:key="nodeName"
class="flex items-center justify-between rounded-md bg-(--p-content-border-color) px-3 py-2"
>
<div class="flex items-center gap-2">
<span class="text-base/tight font-medium">{{
nodeName
}}</span>
</div>
</div>
</div>
</ScrollPanel>
</div>
</template>
<script setup lang="ts">
import ScrollPanel from 'primevue/scrollpanel'
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
const { nodeNames } = defineProps<{ nodeNames: string[] }>()
</script>

View File

@@ -29,6 +29,7 @@
<script setup lang="ts">
import { useI18n } from 'vue-i18n'
import ApiNodesList from '@/components/common/ApiNodesList.vue'
import Button from '@/components/ui/button/Button.vue'
import { useExternalLink } from '@/composables/useExternalLink'