|
|
@ -196,7 +196,7 @@ export default { |
|
|
|
async setAsPrimaryValue() { |
|
|
|
async setAsPrimaryValue() { |
|
|
|
// todo: pass only updated fields |
|
|
|
// todo: pass only updated fields |
|
|
|
try { |
|
|
|
try { |
|
|
|
await this.$api.dbTableColumn.primaryColumnSet(this.meta.id, this.column.id) |
|
|
|
await this.$api.dbTableColumn.primaryColumnSet(this.column.id) |
|
|
|
this.$toast.success('Successfully updated as primary column').goAway(3000) |
|
|
|
this.$toast.success('Successfully updated as primary column').goAway(3000) |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
console.log(e) |
|
|
|
console.log(e) |
|
|
|