app/javascript/avo.base.js in avo-3.1.3 vs app/javascript/avo.base.js in avo-3.1.4
- old
+ new
@@ -6,10 +6,14 @@
import * as Mousetrap from 'mousetrap'
import { Turbo } from '@hotwired/turbo-rails'
import Rails from '@rails/ujs'
import tippy from 'tippy.js'
+import { LocalStorageService } from './js/local-storage-service'
+
import 'chartkick/chart.js/chart.esm'
+
+window.Avo.localStorage = new LocalStorageService()
import './js/active-storage'
import './js/controllers'
import './js/custom-stream-actions'