Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

493 B
Raw Blame
<script lang="ts" setup>
const props = defineProps<{
  workspaceId?: string
}>()

const navigateToWorkspace = () => {
  if (props.workspaceId) {
    navigateTo(`/${props.workspaceId}/settings`)
  }
}
</script>

<template>
  <div class="flex items-center justify-between w-full border-b-1 border-nc-gray-medium py-2 px-4 h-[56px]">
    <GeneralIcon icon="nocodbSquarePuck" class="w-8 h-8 cursor-pointer" @click.stop="navigateToWorkspace" />
    <DashboardTopbarUserInfo />
  </div>
</template>