mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
611 B
19 lines
611 B
<script setup lang="ts"> |
|
import { useGlobal } from '#imports' |
|
const props = defineProps<{ |
|
item: any |
|
}>() |
|
|
|
const { navigateToProject } = useGlobal() |
|
|
|
const item = toRef(props, 'item') |
|
</script> |
|
|
|
<template> |
|
<NotificationItemWrapper :item="item" @click="navigateToProject({ projectId: item.body.id })"> |
|
<div class="text-xs"> |
|
<strong>{{ item.body.invited_by }}</strong> has invited you to collaborate on |
|
<!-- <GeneralProjectIcon style="vertical-align: middle" :type="item.body.type" /> <strong>{{ item.body.title }}</strong> project. --> |
|
</div> |
|
</NotificationItemWrapper> |
|
</template>
|
|
|