Browse Source

refactor: maintain left space even if project theme is not editable

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5885/head
Pranav C 1 year ago
parent
commit
80bd4b9ef7
  1. 2
      packages/nc-gui/pages/index/index/index.vue

2
packages/nc-gui/pages/index/index/index.vue

@ -247,7 +247,7 @@ const copyProjectMeta = async () => {
<a-table-column key="title" :title="$t('general.title')" data-index="title"> <a-table-column key="title" :title="$t('general.title')" data-index="title">
<template #default="{ text, record }"> <template #default="{ text, record }">
<div class="flex items-center"> <div class="flex items-center">
<div @click.stop> <div @click.stop class="w-2">
<a-menu class="!border-0 !m-0 !p-0" trigger-sub-menu-action="click"> <a-menu class="!border-0 !m-0 !p-0" trigger-sub-menu-action="click">
<template v-if="isUIAllowed('projectTheme') || isUIAllowed('projectTheme', true, record.roles)"> <template v-if="isUIAllowed('projectTheme') || isUIAllowed('projectTheme', true, record.roles)">
<a-sub-menu key="theme" popup-class-name="custom-color"> <a-sub-menu key="theme" popup-class-name="custom-color">

Loading…
Cancel
Save