Skip to content

Commit dbc1956

Browse files
author
Ben Baumgold
committed
#67 do not use isnothing
1 parent 4b265c1 commit dbc1956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TableView.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function _showtable_sync!(w, schema, names, types, rows, coldefs, tablelength, i
206206
gridOptions.components = Dict(
207207
"rowNumberRenderer" => RowNumberRenderer
208208
)
209-
if $(!isnothing(license))
209+
if $(license !== nothing)
210210
agGrid.LicenseManager.setLicenseKey($license)
211211
end
212212
this.table = @new agGrid.Grid(el, gridOptions)
@@ -249,7 +249,7 @@ function _showtable_async!(w, schema, names, types, rows, coldefs, tablelength,
249249
gridOptions.components = Dict(
250250
"rowNumberRenderer" => RowNumberRenderer
251251
)
252-
if $(!isnothing(license))
252+
if $(license !== nothing)
253253
agGrid.LicenseManager.setLicenseKey($license)
254254
end
255255
this.table = @new agGrid.Grid(el, gridOptions)

0 commit comments

Comments
 (0)