fix jshint error

This commit is contained in:
BuckarooBanzay 2021-06-22 16:28:29 +02:00
parent 359b135fb0
commit 06129ddd4f

View File

@ -5,10 +5,10 @@ Vue.component("item-link", {
if (/^group:/.test(name)){
// group
const groupname = name.split([":"])[1];
return `/groups/${groupname}`
return `/groups/${groupname}`;
} else {
// plain item
return `/items/${name}`
return `/items/${name}`;
}
}
},