debian-mirror-gitlab/app/assets/javascripts/pages/projects/usage_quotas/index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
564 B
JavaScript
Raw Normal View History

2023-03-17 16:20:25 +05:30
import initProjectStorage from '~/usage_quotas/storage/init_project_storage';
import initSearchSettings from '~/search_settings';
2023-06-20 00:43:36 +05:30
import { GlTabsBehavior, HISTORY_TYPE_HASH } from '~/tabs';
const initGlTabs = () => {
const tabsEl = document.getElementById('js-project-usage-quotas-tabs');
if (!tabsEl) {
return;
}
// eslint-disable-next-line no-new
new GlTabsBehavior(tabsEl, { history: HISTORY_TYPE_HASH });
};
2023-03-17 16:20:25 +05:30
const initVueApp = () => {
initProjectStorage('js-project-storage-count-app');
};
2023-06-20 00:43:36 +05:30
initGlTabs();
2023-03-17 16:20:25 +05:30
initVueApp();
initSearchSettings();