Put parens around `newId ? this._List.prototype.getWorkspace(value) : null`.

Otherwise the `||` is part of the `?` operator.