Skip to content

Commit

Permalink
search storage working; table in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
interrogator committed Aug 20, 2019
1 parent bfdb821 commit 2b9aa30
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 113 deletions.
8 changes: 4 additions & 4 deletions buzzword/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ def _get_layout():
Function for layout. Could be helpful in future to do it this way.
"""
loc = dcc.Location(id="url", refresh=False)
search_store = dcc.Store(id='session-search', storage_type='session')
tables_store = dcc.Store(id='session-tables', storage_type='session')
click_clear = dcc.Store(id='session-click-clear', storage_type='session')
click_table = dcc.Store(id='session-click-table', storage_type='session')
search_store = dcc.Store(id='session-search', data=dict())
tables_store = dcc.Store(id='session-tables', data=dict())
click_clear = dcc.Store(id='session-clicks-clear')
click_table = dcc.Store(id='session-clicks-table')
content = html.Div(id="page-content")
stores = [search_store, tables_store, click_clear, click_table]
return html.Div([loc] + stores + [content])
Expand Down

0 comments on commit 2b9aa30

Please sign in to comment.