mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
Show modal when no measures for a school/year have meet their threshold
This commit is contained in:
parent
edeb3f4e59
commit
cf6e80ce6b
18 changed files with 220 additions and 21 deletions
8
app/javascript/modal.js
Normal file
8
app/javascript/modal.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { Modal } from "bootstrap";
|
||||
|
||||
export function showEmptyDatasetModal() {
|
||||
const modal = document.querySelector('.modal');
|
||||
if(modal){
|
||||
new Modal(modal).show();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue