mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
`sub.email_address` can be `undefined`, `$foo.text(undefined)` has no effect (it doesn't clear the text), and `text()` doesn't formally accept `undefined`, so here we only call `text()` if the new value isn't undefined.