Silence console error

This commit is contained in:
D. Berge
2025-08-06 11:05:15 +02:00
parent 0263eab6d1
commit 81e06930f0

View File

@@ -822,7 +822,7 @@ export default {
async getNumLines () { async getNumLines () {
const projectInfo = await this.api([`/project/${this.$route.params.project}`]); const projectInfo = await this.api([`/project/${this.$route.params.project}`]);
this.num_rows = projectInfo.sequences; this.num_rows = projectInfo?.sequences ?? 0;
}, },
async fetchSequences (opts = {}) { async fetchSequences (opts = {}) {