Fix href going to undefined after toggling safe search on/off
This commit is contained in:
parent
f7d75c0bb5
commit
931cf1cf58
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue