Commit 237b20fe authored by Matteo Massarotto's avatar Matteo Massarotto
Browse files

Fixed check existing avro file

parent 8e531fc4
......@@ -288,7 +288,7 @@ export default defineComponent({
}
},
isAvroReady(dsId: Number) {
if (this.avroDatasets.indexOf(dsId) >= 0) return true
if (this.avroDatasets.indexOf(dsId) >= 0 || (dsId && this.avroDatasets.indexOf(dsId.toString())) >= 0) return true
else return false
},
async getAllAvroDataSets() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment