Fix event delegates extra bottom space
This commit is contained in:
@@ -271,10 +271,14 @@ HRowLayout {
|
||||
|
||||
HRepeater {
|
||||
id: linksRepeater
|
||||
model: [
|
||||
eventDelegate.currentModel.media_url,
|
||||
...JSON.parse(eventDelegate.currentModel.links),
|
||||
]
|
||||
model: {
|
||||
const links = JSON.parse(eventDelegate.currentModel.links)
|
||||
|
||||
if (eventDelegate.currentModel.media_url)
|
||||
links.push(eventDelegate.currentModel.media_url)
|
||||
|
||||
return links
|
||||
}
|
||||
|
||||
EventMediaLoader {
|
||||
singleMediaInfo: eventDelegate.currentModel
|
||||
|
Reference in New Issue
Block a user