mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 13:45:25 +08:00
22 lines
425 B
Vue
22 lines
425 B
Vue
<template>
|
|
<a class="hover:no-underline flex items-center gap-1"
|
|
:title="params.data.name"
|
|
:href="params.data.urls.show"
|
|
>
|
|
<span class="truncate">
|
|
<i v-if="params.data.shared || params.data.ishared" class="fas fa-users"></i>
|
|
{{ params.data.name }}
|
|
</span>
|
|
</a>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
params: {
|
|
type: Object,
|
|
required: true
|
|
}
|
|
}
|
|
};
|
|
</script>
|