This commit is contained in:
zadam
2021-05-24 21:43:24 +02:00
parent bae8551652
commit 2f5d3729de
3 changed files with 18 additions and 15 deletions

View File

@@ -331,8 +331,8 @@ export default class TabManager extends Component {
let i = 0;
for (const ntxId in ntxIdsInOrder) {
for (const noteContext of this.noteContexts[ntxId].getSubContexts()) {
for (const ntxId of ntxIdsInOrder) {
for (const noteContext of this.getNoteContextById(ntxId).getSubContexts()) {
order[noteContext.ntxId] = i++;
}
}