Skip to content

Commit

Permalink
v0.13 - support for Stipple v0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Salceanu committed Dec 14, 2021
1 parent 73439b9 commit 0c704a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StippleUI"
uuid = "a3c5d34a-b254-4859-a8fa-b86abb7e84a3"
authors = ["Adrian Salceanu <[email protected]>"]
version = "0.12.0"
version = "0.13.0"

[deps]
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Expand All @@ -14,7 +14,7 @@ Stipple = "4acbeb90-81a0-11ea-1966-bdaff8155998"
Colors = "0.12"
DataFrames = "1.0"
Genie = "4"
Stipple = "0.18"
Stipple = "0.18, 0.19"
julia = "1.6"

[extras]
Expand Down
4 changes: 1 addition & 3 deletions src/Dashboards.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ function dashboard(elemid::Union{AbstractString,Symbol}, content::Union{String,V
end

function dashboard(model::M, args...; kwargs...) where {M<:ReactiveModel}
hasproperty(model, :channel) || throw(Stipple.MissingPropertyException(:channel, model))

dashboard(vm(model), args...; channel = model.channel, kwargs...)
dashboard(vm(model), args...; channel = model.channel__, kwargs...)
end

end

0 comments on commit 0c704a0

Please sign in to comment.