Skip to content

Commit fec98eb

Browse files
committed
remove set/get_name for PlotlyApp. It does not exist
1 parent 745610a commit fec98eb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/app/dashapp.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ end
4242

4343
#only name, index_string and layout are available to set
4444
function Base.setproperty!(app::DashApp, property::Symbol, value)
45-
property == :name && return set_name!(app, value)
4645
property == :index_string && return set_index_string!(app, value)
4746
property == :layout && return set_layout!(app::DashApp, value)
4847
property == :title && return set_title!(app::DashApp, value)
@@ -52,16 +51,10 @@ function Base.setproperty!(app::DashApp, property::Symbol, value)
5251
error("The property `$(property)` of `DashApp` does not exist.")
5352
end
5453

55-
function set_name!(app::DashApp, name)
56-
setfield!(app, :name, name)
57-
end
58-
5954
function set_title!(app::DashApp, title)
6055
setfield!(app, :title, title)
6156
end
6257

63-
get_name(app::DashApp) = app.name
64-
6558
function set_layout!(app::DashApp, component::Union{Component,Function})
6659
setfield!(app, :layout, component)
6760
end

0 commit comments

Comments
 (0)