forked from mystiq/hydrogen-web
also swap logic of setter
This commit is contained in:
parent
a269f612b6
commit
a59014475b
1 changed files with 2 additions and 2 deletions
|
@ -55,9 +55,9 @@ export default class FragmentBoundaryEntry extends BaseEntry {
|
||||||
|
|
||||||
set token(token) {
|
set token(token) {
|
||||||
if (this.started) {
|
if (this.started) {
|
||||||
this.fragment.nextToken = token;
|
|
||||||
} else {
|
|
||||||
this.fragment.previousToken = token;
|
this.fragment.previousToken = token;
|
||||||
|
} else {
|
||||||
|
this.fragment.nextToken = token;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue