Commit 0762b18b authored by Dennis Tang's avatar Dennis Tang

revisions

parent 191d321c
...@@ -8,10 +8,10 @@ import * as CONSTANTS from './constants'; ...@@ -8,10 +8,10 @@ import * as CONSTANTS from './constants';
const mountComponent = (entryPoint, component, componentName, extraProps = {}) => { const mountComponent = (entryPoint, component, componentName, extraProps = {}) => {
const el = document.querySelector(entryPoint); const el = document.querySelector(entryPoint);
const hiddenInput = el.querySelector('input');
if (!el) return false; if (!el) return false;
const hiddenInput = el.querySelector('input');
return new Vue({ return new Vue({
el, el,
components: { components: {
...@@ -77,7 +77,7 @@ const initializeGapiClient = () => { ...@@ -77,7 +77,7 @@ const initializeGapiClient = () => {
}; };
const initGkeDropdowns = () => { const initGkeDropdowns = () => {
if (typeof gapi === 'undefined') { if (!gapi) {
gkeDropdownErrorHandler(); gkeDropdownErrorHandler();
return false; 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