aboutsummaryrefslogtreecommitdiff
path: root/src/tools/jwt-parser/claim.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/jwt-parser/claim.vue')
-rw-r--r--src/tools/jwt-parser/claim.vue29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/tools/jwt-parser/claim.vue b/src/tools/jwt-parser/claim.vue
deleted file mode 100644
index 3f298a2..0000000
--- a/src/tools/jwt-parser/claim.vue
+++ /dev/null
@@ -1,29 +0,0 @@
-<template>
- <n-space>
- <em>{{ claim }}</em>
- <span v-if="label.label !== claim">
- <n-popover placement="right" trigger="hover">
- <template #trigger>
- <n-icon :component="InfoCircle" trigger />
- </template>
- {{ label.label }}
- <template v-if="label.ref !== ''" #footer> {{ label.ref }} </template>
- </n-popover>
- </span>
- </n-space>
-</template>
-
-<script setup lang="ts">
-import { computed } from 'vue';
-import { InfoCircle } from '@vicons/tabler';
-import { getClaimLabel } from './jwt-parser.service';
-
-const props = defineProps({
- claim: {
- type: String,
- default: '',
- },
-});
-
-const label = computed(() => getClaimLabel(props.claim ? props.claim : ''));
-</script>