mirror of
https://github.com/simonw/datasette-vega.git
synced 2026-09-10 10:34:11 +02:00
render on database ?sql=… pages
This commit is contained in:
parent
23c1c3c8fa
commit
3e128b74da
1 changed files with 2 additions and 2 deletions
|
|
@ -18,11 +18,11 @@ def cached_filepaths_for_extension(extension):
|
|||
|
||||
@hookimpl
|
||||
def extra_css_urls(view_name):
|
||||
if view_name == "table":
|
||||
if view_name in ("database", "table"):
|
||||
return cached_filepaths_for_extension("css")
|
||||
|
||||
|
||||
@hookimpl
|
||||
def extra_js_urls(view_name):
|
||||
if view_name == "table":
|
||||
if view_name in ("database", "table"):
|
||||
return cached_filepaths_for_extension("js")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue