BigW Consortium Gitlab

Commit 0762b18b by Dennis Tang

revisions

parent 191d321c
......@@ -8,10 +8,10 @@ import * as CONSTANTS from './constants';
const mountComponent = (entryPoint, component, componentName, extraProps = {}) => {
const el = document.querySelector(entryPoint);
const hiddenInput = el.querySelector('input');
if (!el) return false;
const hiddenInput = el.querySelector('input');
return new Vue({
el,
components: {
......@@ -77,7 +77,7 @@ const initializeGapiClient = () => {
};
const initGkeDropdowns = () => {
if (typeof gapi === 'undefined') {
if (!gapi) {
gkeDropdownErrorHandler();
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment