@@ -56,9 +56,10 @@ gulp.task('eslint', () => (
.pipe(eslint.format())
));
-const cacheObj = templateCache();
+var cacheObj;
gulp.task('templates', () => {
+ cacheObj = templateCache();
var stream = merge2([
gulp.src(paths.cache),
gulp.src(paths.templates).pipe(cacheObj),
@@ -4,7 +4,7 @@
v-el:enabled @change="update">
<span>{{labelText}}</span>
</label>
- <button @click="authenticate" :disabled="authState!=='unauthorized'">
+ <button @click="authenticate" :disabled="service.authState!=='unauthorized'">
{{labelAuthenticate}}
</button>
<button :disabled="disableSync" class="sync-start" @click="retry">