Browse Source

enhancement: add download column

pull/2552/head
Wing-Kam Wong 2 years ago
parent
commit
9f05da818f
  1. 16
      packages/nc-gui/components/project/spreadsheet/components/SharedViewsList.vue

16
packages/nc-gui/components/project/spreadsheet/components/SharedViewsList.vue

@ -18,6 +18,10 @@
<!--Password--> <!--Password-->
{{ $t('labels.password') }} {{ $t('labels.password') }}
</th> </th>
<th class="caption grey--text">
<!-- TODO: i18n -->
Download Allowed
</th>
<th class="caption grey--text"> <th class="caption grey--text">
<!--Actions--> <!--Actions-->
{{ $t('labels.actions') }} {{ $t('labels.actions') }}
@ -46,6 +50,12 @@
</v-icon> </v-icon>
</template> </template>
</td> </td>
<td class="caption">
{{ currentView }}
<template v-if="'download' in currentView">
<span>{{ ~~currentView.download === 1 ? '✔' : '❌' }}</span>
</template>
</td>
<td class="caption"> <td class="caption">
<v-icon small @click="copyLink(currentView)"> <v-icon small @click="copyLink(currentView)">
mdi-content-copy mdi-content-copy
@ -84,6 +94,12 @@
</v-icon> </v-icon>
</template> </template>
</td> </td>
<td class="caption">
{{ link }}
<template v-if="'download' in link">
<span>{{ ~~link.download === 1 ? '✔' : '❌' }}</span>
</template>
</td>
<td class="caption"> <td class="caption">
<v-icon small @click="copyLink(link)"> <v-icon small @click="copyLink(link)">
mdi-content-copy mdi-content-copy

Loading…
Cancel
Save