We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca9e950 commit dd6bd52Copy full SHA for dd6bd52
src/app/dashapp.jl
@@ -41,9 +41,7 @@ mutable struct DashApp
41
end
42
43
const VecChildTypes = Union{NTuple{N, DashBase.Component} where {N}, Vector{<:DashBase.Component}}
44
-function Base.getindex(app::Dash.DashApp, id::AbstractString)
45
- app.layout[id]
46
-end
+
47
function Base.getindex(component::DashBase.Component, id::AbstractString)
48
component.id == id && return component
49
hasproperty(component, :children) || return nothing
0 commit comments