fix: update service-worker cache for removed chat.js, guard location-map invalidateSize call
This commit is contained in:
@@ -124,7 +124,7 @@ class LocationMap extends HTMLElement {
|
|||||||
|
|
||||||
// Invalidate size after render (fixes grey tiles issue)
|
// Invalidate size after render (fixes grey tiles issue)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.map.invalidateSize()
|
this.map?.invalidateSize()
|
||||||
}, 100)
|
}, 100)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
const CACHE_NAME = 'dgray-v38';
|
const CACHE_NAME = 'dgray-v39';
|
||||||
const STATIC_ASSETS = [
|
const STATIC_ASSETS = [
|
||||||
'/',
|
'/',
|
||||||
'/index.html',
|
'/index.html',
|
||||||
@@ -11,7 +11,7 @@ const STATIC_ASSETS = [
|
|||||||
'/js/router.js',
|
'/js/router.js',
|
||||||
'/js/i18n.js',
|
'/js/i18n.js',
|
||||||
'/js/services/crypto.js',
|
'/js/services/crypto.js',
|
||||||
'/js/services/chat.js',
|
'/js/services/conversations.js',
|
||||||
'/js/services/directus.js',
|
'/js/services/directus.js',
|
||||||
'/js/services/auth.js',
|
'/js/services/auth.js',
|
||||||
'/js/components/chat-widget.js',
|
'/js/components/chat-widget.js',
|
||||||
|
|||||||
Reference in New Issue
Block a user