Skip to content

Commit 47c43e2

Browse files
author
Cerem Cem ASLAN
committed
changed {{_tmp}} variable to {{tmp}}
1 parent 03648f3 commit 47c43e2

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

components/data-table/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ See https://aktos.io/st/#/showcase/data-table
2323

2424
`readonly`: if data-table has no `editForm` partial or set `readonly` explicitly, then it is readonly
2525

26+
`print_mode`: (Bool) Indicates that current view form is in print mode.
27+
28+
`tmp`: (Object) A temporary variable that resets on every view-form creation.
29+
30+
`this.actor`: Data-table's actor.
31+
2632
# Partials (sections)
2733

2834
header: Head section of data table

components/data-table/index.ls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Ractive.components['data-table'] = Ractive.extend do
144144
await @set \openingRowMsg, "Opening #{index}..."
145145
opening-dimmer.dimmer \show
146146
row-clone = clone row
147-
await @set \_tmp, {}
147+
await @set \tmp, {}
148148
await @set \curr, {}
149149

150150
# scroll to the newly opened row
@@ -358,7 +358,7 @@ Ractive.components['data-table'] = Ractive.extend do
358358
curr-page: 0
359359
opening-row: no
360360
opening-row-msg: ''
361-
_tmp: {}
361+
tmp: {}
362362
new_attachments: {}
363363
searchText: ''
364364
sifter: null

0 commit comments

Comments
 (0)