mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
fix another direction mismatch
This commit is contained in:
parent
c63d94947f
commit
4b5b90e199
@ -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 New Issue
Block a user