mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
Replace javascript logic with hotwire. Also hide district dropdown on
home page if there is only one district.
This commit is contained in:
parent
87802c034e
commit
69179ce157
16 changed files with 3223 additions and 1259 deletions
|
|
@ -9,12 +9,10 @@ import {
|
|||
initializeListenersForNavDropdowns,
|
||||
initializePopovers,
|
||||
} from "./overview";
|
||||
import { initializeListenersForHomeDropdowns } from "./home";
|
||||
import { showEmptyDatasetModal } from "./modal";
|
||||
|
||||
document.addEventListener("turbo:load", () => {
|
||||
initializeListenersForNavDropdowns();
|
||||
initializeListenersForHomeDropdowns();
|
||||
initializePopovers();
|
||||
showEmptyDatasetModal();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue