setting label to serviceItem name instead of id

This commit is contained in:
Chris Cochrun 2023-02-17 10:25:27 -06:00
parent 57ffdc3ff0
commit e01d0491e8

View file

@ -51,7 +51,8 @@ Item {
/* anchors.leftMargin: Kirigami.Units.smallSpacing * 8 */
anchors.topMargin: Kirigami.Units.smallSpacing * 3
elide: Text.ElideRight
text: serviceItemId //ServiceItemModel.getItem(serviceItemId).name
text: ServiceItemModel.getItem(serviceItemId).name
font.bold: true
/* font.family: "Quicksand Bold" */
}
@ -61,7 +62,7 @@ Item {
hoverEnabled: true
onClicked: {
changeSlide(index);
/* showPassiveNotification(SlideModel.thumbnailVideo(model.videoBackground, model.serviceItemId, index)); */
showPassiveNotification(model.serviceItemId);
}
cursorShape: Qt.PointingHandCursor
propagateComposedEvents: true