Files
zulip/web/tests/util.test.cjs
Prakhar Pratyush 0642c7a264 util: Fix is_topic_name_considered_empty function.
Earlier, the `is_topic_name_considered_empty` function
used to return true only if the topic_name is either:
* ""
* "(no topic)"
* `realm_empty_topic_display_name` value

The third condition is not precisely correct. This commit
replaces it with the displayed topic name for `""` topic.

The displayed topic name is not always the same as
`realm_empty_topic_display_name` value.
2025-03-18 11:18:37 -07:00

21 KiB