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

Loading…
Cancel
Save