@mongoosejs/studio
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -31,4 +31,2 @@ 'use strict'; | ||
const anchor = document.createElement('a'); | ||
console.log('K', config__baseURL) | ||
console.log('G', config__baseURL + '/Model/exportQueryResults?' + (new URLSearchParams(params)).toString()); | ||
anchor.href = config__baseURL + '/Model/exportQueryResults?' + (new URLSearchParams(params)).toString(); | ||
@@ -35,0 +33,0 @@ anchor.target = '_blank'; |
@@ -25,7 +25,10 @@ 'use strict'; | ||
async exportQueryResults() { | ||
await api.Model.exportQueryResults({ | ||
const params = { | ||
model: this.currentModel, | ||
filter: this.filter, | ||
propertiesToInclude: Object.keys(this.shouldExport).filter(key => this.shouldExport[key]) | ||
}); | ||
}; | ||
if (this.filter) { | ||
params.filter = this.filter; | ||
} | ||
await api.Model.exportQueryResults(params); | ||
@@ -32,0 +35,0 @@ this.$emit('done'); |
{ | ||
"name": "@mongoosejs/studio", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "archetype": "0.13.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4662
176151