Fix href going to undefined after toggling safe search on/off

This commit is contained in:
Eric Eastwood 2023-05-02 18:08:24 -05:00
parent f7d75c0bb5
commit 931cf1cf58
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class RoomCardView extends TemplateView {
if (vm.blockedBySafeSearch) {
// Omit the href so the link is not clickable when it's blocked by
// safe search
return undefined;
return false;
}
return vm.archiveRoomUrl;