Fix two factor auth notification: activity item was disabled.

User couldn't click on the links.

Signed-off-by: Camila <hello@camila.codes>
This commit is contained in:
Camila 2022-09-20 18:53:55 +02:00
parent 70a6588e45
commit 7db68ad2c5
No known key found for this signature in database
GPG key ID: 7A4A6121E88E2AD4

View file

@ -20,7 +20,7 @@ ItemDelegate {
property color adjustedHeaderColor: Theme.darkMode ? Qt.lighter(UserModel.currentUser.headerColor, 2)
: Qt.darker(UserModel.currentUser.headerColor, 1.5)
enabled: (model.path !== "" || model.link !== "" || model.isCurrentUserFileActivity === true)
enabled: (model.path !== "" || model.link !== "" || model.links.length > 0 || model.isCurrentUserFileActivity === true)
padding: Style.standardSpacing
Accessible.role: Accessible.ListItem