Commit 52755244 authored by Fernando's avatar Fernando

Shorten conditional in getter

parent 18bc3de5
......@@ -21,7 +21,7 @@ export const licenseReportGroups = state =>
);
export const hasReportItems = (_, getters) => {
return Boolean(getters.licenseReport && getters.licenseReport.length);
return Boolean(getters.licenseReport?.length);
};
export const baseReportHasLicenses = state => {
......
Markdown is supported
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