forked from mystiq/hydrogen-web
fix another direction mismatch
This commit is contained in:
parent
c63d94947f
commit
4b5b90e199
1 changed files with 4 additions and 4 deletions
|
@ -63,17 +63,17 @@ export default class FragmentBoundaryEntry extends BaseEntry {
|
|||
|
||||
get linkedFragmentId() {
|
||||
if (this.started) {
|
||||
return this.fragment.nextId;
|
||||
} else {
|
||||
return this.fragment.previousId;
|
||||
} else {
|
||||
return this.fragment.nextId;
|
||||
}
|
||||
}
|
||||
|
||||
set linkedFragmentId(id) {
|
||||
if (this.started) {
|
||||
this.fragment.nextId = id;
|
||||
} else {
|
||||
this.fragment.previousId = id;
|
||||
} else {
|
||||
this.fragment.nextId = id;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue