Skip to content

Commit 751680e

Browse files
committed
naming
1 parent 083d4b6 commit 751680e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bookmarks-ts/src/user/BookmarkEntryBase.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export abstract class View {
3232

3333
_m = defg(this, '_m', {
3434
tag_upd: $any(null),
35-
tag_rm_idx: 0
35+
tag_upd_idx: 0
3636
})
3737

3838
onSelect(selected: user.BookmarkEntry, flags: SelectionFlags): number {
@@ -112,7 +112,7 @@ export abstract class View {
112112
if (!this.pstore.loading(true)) return false
113113

114114
this._m.tag_upd = null
115-
this._m.tag_rm_idx = idx
115+
this._m.tag_upd_idx = idx
116116

117117
let pstore = this.pstore,
118118
selected = pstore.pager.pojo,
@@ -134,7 +134,7 @@ export abstract class View {
134134

135135
if (!entry) {
136136
// remove
137-
array.splice(this._m.tag_rm_idx, 1)
137+
array.splice(this._m.tag_upd_idx, 1)
138138
} else if (!array.length) {
139139
// initialize array
140140
array = [copy]

0 commit comments

Comments
 (0)