mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-08-05 03:57:03 -04:00
13 lines
310 B
Vue
13 lines
310 B
Vue
<script setup lang="ts">
|
||
defineProps<{
|
||
hash: string | null;
|
||
}>();
|
||
|
||
const base = 'https://gitlab.com/PronounsPage/PronounsPage/-/commit';
|
||
</script>
|
||
|
||
<template>
|
||
<a v-if="hash" :href="`${base}/${hash}`" target="_blank" rel="noopener">{{ hash.substring(0, 8) }}</a>
|
||
<span v-else>–</span>
|
||
</template>
|