mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:21:11 +08:00
FIX: Client not setting TopicTimer#based_on_last_post
.
https://meta.discourse.org/t/incorrect-message-key-in-temporarily-closed-topic/87773
This commit is contained in:
@ -155,7 +155,7 @@ export default ComboBoxComponent.extend(DatetimeMixin, {
|
||||
},
|
||||
|
||||
mutateValue(value) {
|
||||
if (this.get("isCustom") || this.get("isBasedOnLastPost")) {
|
||||
if (value === 'pick_date_and_time' || this.get("isBasedOnLastPost")) {
|
||||
this.set("value", value);
|
||||
} else {
|
||||
let input = null;
|
||||
|
Reference in New Issue
Block a user