Browse Source

fix: Reverted project node capitilize change

pull/6846/head
Muhammed Mustafa 1 year ago
parent
commit
259147aa58
  1. 6
      packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue

6
packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue

@ -419,7 +419,7 @@ const projectDelete = () => {
v-if="editMode"
ref="input"
v-model="tempTitle"
class="flex-grow leading-1 outline-0 ring-none !text-inherit !bg-transparent w-4/5"
class="flex-grow leading-1 outline-0 ring-none capitalize !text-inherit !bg-transparent w-4/5"
:class="{ 'text-black font-semibold': activeProjectId === base.id && baseViewOpen && !isMobileMode }"
@click.stop
@keyup.enter="updateProjectTitle"
@ -428,7 +428,7 @@ const projectDelete = () => {
/>
<span
v-else
class="nc-sidebar-node-title text-ellipsis overflow-hidden select-none"
class="nc-sidebar-node-title capitalize text-ellipsis overflow-hidden select-none"
:style="{ wordBreak: 'keep-all', whiteSpace: 'nowrap', display: 'inline' }"
:class="{ 'text-black font-semibold': activeProjectId === base.id && baseViewOpen }"
@click="onProjectClick(base)"
@ -628,7 +628,7 @@ const projectDelete = () => {
<GeneralBaseLogo class="min-w-4 !xs:(min-w-4.25 w-4.25 text-sm)" />
<div
:data-testid="`nc-sidebar-base-${source.alias}`"
class="nc-sidebar-node-title flex text-ellipsis overflow-hidden select-none"
class="nc-sidebar-node-title flex capitalize text-ellipsis overflow-hidden select-none"
:style="{ wordBreak: 'keep-all', whiteSpace: 'nowrap', display: 'inline' }"
>
{{ source.alias || '' }}

Loading…
Cancel
Save