Fix export of empty database
This commit is contained in:
1 parent
7d10fbffec
commit
5cb4d9f861
1 file changed
+1
-1
@@ -8,7 +8,7 @@ export default async function openShareDialogAndExport() {
|
||||
try {
|
||||
data = getDataAsCsvDataUri()
|
||||
if (!data) {
|
||||
return alertError(labels.errors.noData)
|
||||
return alertError(labels.export.errors.noData)
|
||||
}
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
|
||||
Reference in new issue
Block a user