Merge remote-tracking branch 'origin/main'

This commit is contained in:
Marek Fraczyk
2021-05-26 16:47:59 +03:00

View File

@ -42,7 +42,7 @@ export default {
});
const client = rootGetters['invoices/invoice'].client;
if (client && client.has_tax) {
if ((client && client.has_tax) || !client) {
const taxes = getters.taxes.length > 0
? getters.taxes
: rootGetters['taxes/allWithLabels'];