Commit ac9840d8 authored by Nick Kipling's avatar Nick Kipling

Changed to use nullish coalescing

parent 9c6147af
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
return s__('PackageRegistry|Delete package'); return s__('PackageRegistry|Delete package');
}, },
deletePackageName() { deletePackageName() {
return this.itemToBeDeleted?.name || ''; return this.itemToBeDeleted?.name ?? '';
}, },
tracking() { tracking() {
const category = this.itemToBeDeleted const category = this.itemToBeDeleted
......
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