Fixup higher power levels not being displayed correctly

This is is a fix or 4d1c82a623, I was
coercing integer values to PowerLevel (the enum.)
This commit is contained in:
Joshua Goins
2025-02-04 15:36:21 -05:00
parent 0c7e02e7c9
commit 6b4b895102
3 changed files with 5 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ Kirigami.Dialog {
Kirigami.Chip {
visible: root.room
text: root.room ? QmlUtils.nameForLevel(root.room.memberEffectivePowerLevel(root.user.id)) : ""
text: root.room ? QmlUtils.nameForPowerLevelValue(root.room.memberEffectivePowerLevel(root.user.id)) : ""
closable: false
checkable: false