loomio/loomio

View on GitHub
vue/src/shared/helpers/boot.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function default has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function(callback) {
  const client = new RestfulClient('boot');
  client.get('site').then(function(appConfig) {
    appConfig.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
    forEach(appConfig, (v, k) => Vue.set(AppConfig, k, v));
Severity: Major
Found in vue/src/shared/helpers/boot.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status