FIX: default to blank title on open
In production `title` was set to undefined causing a discrepancy between originalTitle and title This attempts to work around the issue in the production bundle
This commit is contained in:
parent
07b728c5e5
commit
b180e6e737
|
@ -785,7 +785,10 @@ const Composer = RestModel.extend({
|
|||
});
|
||||
}
|
||||
|
||||
this.set("originalTitle", "");
|
||||
if (this.get("canEditTitle")) {
|
||||
this.set("originalTitle", "");
|
||||
this.set("title", "");
|
||||
}
|
||||
|
||||
if (opts.title) {
|
||||
this.set("title", opts.title);
|
||||
|
|
Loading…
Reference in New Issue