Skip to content

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

chore: lint

Ramesh Mane7c5728db7fcf
diff --git a/packages/nc-gui/components/dlg/SendRecordEmail.vue b/packages/nc-gui/components/dlg/SendRecordEmail.vue
index 53a52791bd..b95f1483e9 100644
--- a/packages/nc-gui/components/dlg/SendRecordEmail.vue
+++ b/packages/nc-gui/components/dlg/SendRecordEmail.vue
@@ -1,3 +1,3 @@
<template>
<span></span>
-</template>
\ No newline at end of file
+</template>
diff --git a/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue b/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue
index 33e4d7efe5..d2038ef068 100644
--- a/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue
+++ b/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue
@@ -3282,12 +3282,7 @@ const headerFilteredOrSortedClass = (colId: string) => {
/>
</div>
- <DlgSendRecordEmail
- v-model="showSendRecordModal"
- :meta="meta"
- :view="view"
- :row-id="contextMenuRowId"
- />
+ <DlgSendRecordEmail v-model="showSendRecordModal" :meta="meta" :view="view" :row-id="contextMenuRowId" />
</template>
<style lang="scss">
diff --git a/packages/nc-gui/components/smartsheet/toolbar/ExportSubActions.vue b/packages/nc-gui/components/smartsheet/toolbar/ExportSubActions.vue
index 3c30a540d1..fc5ba95d3d 100644
--- a/packages/nc-gui/components/smartsheet/toolbar/ExportSubActions.vue
+++ b/packages/nc-gui/components/smartsheet/toolbar/ExportSubActions.vue
@@ -155,7 +155,7 @@ const exportFile = async (exportType: ExportTypes) => {
<NcMenuItem v-e="['a:download:csv']" @click.stop="exportFile(ExportTypes.CSV)">
<div class="flex flex-row items-center nc-base-menu-item !py-0 children:flex-none">
<GeneralLoader v-if="activeExportType === ExportTypes.CSV" size="regular" />
- <component :is="iconMap.ncFileTypeCsvSmall" v-else class="w-4" />
+ <GeneralIcon icon="ncFileTypeCsvSmall" v-else class="w-4" />
<!-- Download as CSV -->
CSV
</div>
@@ -164,32 +164,16 @@ const exportFile = async (exportType: ExportTypes) => {
<NcMenuItem v-e="['a:download:json']" @click.stop="exportFile(ExportTypes.JSON)">
<div class="flex flex-row items-center nc-base-menu-item !py-0 children:flex-none">
<GeneralLoader v-if="activeExportType === ExportTypes.JSON" size="regular" />
- <svg
- v-else
- xmlns="http://www.w3.org/2000/svg"
- width="16"
- height="16"
- viewBox="0 0 24 24"
- fill="none"
- stroke="#0b48c1"
- stroke-width="2"
- stroke-linecap="round"
- stroke-linejoin="round"
- class="lucide lucide-file-braces-icon lucide-file-braces w-4"
- >
- <path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/>
- <path d="M14 2v5a1 1 0 0 0 1 1h5"/>
- <path d="M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1"/>
- <path d="M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1"/>
- </svg>
+ <GeneralIcon v-else icon="ncFileTypeJson" class="w-4" />
<!-- Download as JSON -->
JSON
</div>
</NcMenuItem>
+
<NcMenuItem v-e="['a:download:excel']" @click.stop="exportFile(ExportTypes.EXCEL)">
<div class="flex flex-row items-center nc-base-menu-item !py-0 children:flex-none">
<GeneralLoader v-if="activeExportType === ExportTypes.EXCEL" size="regular" />
- <component :is="iconMap.ncFileTypeExcel" v-else class="w-4" />
+ <GeneralIcon icon="ncFileTypeExcel" v-else class="w-4" />
<!-- Download as Excel -->
Excel
</div>