Browse Source

refactor: disable ludicrous mode option

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/2476/head
Raju Udava 2 years ago
parent
commit
546f06a23c
  1. 9
      packages/nc-gui/components/import/ImportFromAirtable.vue

9
packages/nc-gui/components/import/ImportFromAirtable.vue

@ -8,7 +8,6 @@
<div <div
v-t="['c:airtable-import:turbo-mode']" v-t="['c:airtable-import:turbo-mode']"
class="ml-2 mt-3 title pointer nc-btn-enable-turbo" class="ml-2 mt-3 title pointer nc-btn-enable-turbo"
@click="enableTurbo"
> >
🚀 🚀
</div> </div>
@ -357,10 +356,10 @@ export default {
this.$toast.error(await this._extractSdkResponseErrorMsg(e)).goAway(3000) this.$toast.error(await this._extractSdkResponseErrorMsg(e)).goAway(3000)
} }
}, },
enableTurbo() { // enableTurbo() {
this.$set(this.syncSource.details.options, 'syncViews', true) // this.$set(this.syncSource.details.options, 'syncViews', true)
this.$toast.success('🚀🚀 Ludicrous mode activated! Let\'s go! 🚀🚀').goAway(3000) // this.$toast.success('🚀🚀 Ludicrous mode activated! Let\'s go! 🚀🚀').goAway(3000)
}, // },
migrateSync(src) { migrateSync(src) {
if (!src.details?.options) { if (!src.details?.options) {
src.details.options = { src.details.options = {

Loading…
Cancel
Save