Repair silly mistake: republish on *change*, not on *same*!

This commit is contained in:
Tony Garnock-Jones 2021-01-12 14:34:33 +01:00
parent 1501a719e4
commit 5a412a5d9b
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ export class Endpoint {
refresh() {
let newSpec = this.updateFun.call(this.facet.fields);
if (newSpec.assertion !== void 0) newSpec.assertion = fromJS(newSpec.assertion);
if (is(newSpec.assertion, this.spec.assertion)) {
if (!is(newSpec.assertion, this.spec.assertion)) {
this._uninstall(true);
this._install(newSpec);
}