Updating dispatcher without code fixes
This commit is contained in:
parent
45ec26536e
commit
1aff480680
3 changed files with 356 additions and 409 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,14 +1,14 @@
|
|||
import GroupsList from "~/groups_list";
|
||||
import Landing from "~/landing";
|
||||
import GroupsList from '~/groups_list';
|
||||
import Landing from '~/landing';
|
||||
|
||||
export default function() {
|
||||
new GroupsList();
|
||||
const landingElement = document.querySelector(".js-explore-groups-landing");
|
||||
const landingElement = document.querySelector('.js-explore-groups-landing');
|
||||
if (!landingElement) return;
|
||||
const exploreGroupsLanding = new Landing(
|
||||
landingElement,
|
||||
landingElement.querySelector(".dismiss-button"),
|
||||
"explore_groups_landing_dismissed"
|
||||
landingElement.querySelector('.dismiss-button'),
|
||||
'explore_groups_landing_dismissed'
|
||||
);
|
||||
exploreGroupsLanding.toggle();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import ProjectsList from "~/projects_list";
|
||||
import ProjectsList from '~/projects_list';
|
||||
|
||||
export default function() {
|
||||
new ProjectsList();
|
||||
|
|
Loading…
Reference in a new issue