Browse Source

misc: remove comments

pull/9161/head
Raju Udava 5 months ago committed by Ramesh Mane
parent
commit
beb2ca8953
  1. 25
      packages/nc-gui/components/project/AllTables.vue

25
packages/nc-gui/components/project/AllTables.vue

@ -125,8 +125,7 @@ const onCreateBaseClick = () => {
data-testid="proj-view-btn__add-new-table"
@click="openTableCreateDialog()"
>
<GeneralIcon icon="addOutlineBox" class="!w-8 !h-8 !text-brand-500" />
<GeneralIcon icon="addOutlineBox" class="!h-8 !w-8 !text-brand-500" />
<div class="flex flex-col gap-1">
<div class="label">{{ $t('general.create') }} {{ $t('general.new') }} {{ $t('objects.table') }}</div>
<div class="subtext">Start from scratch.</div>
@ -141,7 +140,7 @@ const onCreateBaseClick = () => {
data-testid="proj-view-btn__import-data"
@click="isImportModalOpen = true"
>
<GeneralIcon icon="download" class="!w-7.5 !h-7.5 !text-orange-700" />
<GeneralIcon icon="download" class="!h-7.5 !w-7.5 !text-orange-700" />
<div class="flex flex-col gap-1">
<div class="label">{{ $t('activity.import') }} {{ $t('general.data') }}</div>
@ -167,30 +166,14 @@ const onCreateBaseClick = () => {
}"
@click="onCreateBaseClick"
>
<GeneralIcon icon="server1" class="!w-7 !h-7 !text-green-700" />
<GeneralIcon icon="server1" class="!h-7 !w-7 !text-green-700" />
<div class="flex flex-col gap-1">
<div class="label">{{ $t('labels.connectDataSource') }}</div>
<div class="subtext">In realtime to external databases.</div>
</div>
</div>
</NcTooltip>
<!--
<div
v-if="isUIAllowed('tableCreate', { source: base?.sources?.[0] })"
v-e="['c:table:create-source']"
role="button"
class="nc-base-view-all-table-btn"
data-testid="proj-view-btn__create-source"
@click="syncDataModalOpen = true"
>
<div class="flex items-center gap-3">
<GeneralIcon icon="refresh" class="!text-blue-700 !h-5 !w-5" />
<div class="label capitalize">{{ $t('labels.syncData') }}</div>
</div>
<div class="subtext">Keep your data updated and in sync across multiple sources.</div>
</div>
--></div>
</div>
<div
v-if="base?.isLoading"
class="flex items-center justify-center text-center mt-4"

Loading…
Cancel
Save