diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-07-13 01:22:56 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-07-13 01:22:56 +0200 |
commit | 426da03b5a4e2d715c086e1bfd92b34358ae17ee (patch) | |
tree | c842225bf95ee06399cbc9caf546d467f24246cf /kvision-modules/kvision-tabulator | |
parent | ba5c00b6992d28cfb6afc7fab108c9009f9e1b7c (diff) | |
download | kvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.tar.gz kvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.tar.bz2 kvision-426da03b5a4e2d715c086e1bfd92b34358ae17ee.zip |
Style fixes. Suppress style warnings.
Diffstat (limited to 'kvision-modules/kvision-tabulator')
-rw-r--r-- | kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt b/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt index 47fbe538..290f9f39 100644 --- a/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt +++ b/kvision-modules/kvision-tabulator/src/main/kotlin/pl/treksoft/kvision/tabulator/Tabulator.kt @@ -380,7 +380,10 @@ open class Tabulator<T : Any>( open fun applyFilter() { if (filter != null) { jsTabulator?.setFilter({ data: dynamic, _: dynamic -> - filter?.let { it(data) } + filter?.let { + @Suppress("UnsafeCastFromDynamic") + it(data) + } }, null, null) } } |