Compare commits

..

2 Commits

1 changed files with 3 additions and 2 deletions

View File

@ -152,8 +152,9 @@ Item {
size: isDir ? 0 : model.size size: isDir ? 0 : model.size
stars: isDir ? 0 : model.stars stars: isDir ? 0 : model.stars
// split string to array // split string to array
tags: isDir ? [] : model.tags.length === 0 ? [] : model.tags.split( tags: isDir ? [] : model.tags === null
",") || model.tags === undefined
|| model.tags === "" ? [] : model.tags.split(",")
onTagClicked: { onTagClicked: {
emit: search(tag) emit: search(tag)
console.log(tag) console.log(tag)