fix: clear cache

This commit is contained in:
Jean-Baptiste Pasquier 2019-11-12 12:49:12 +01:00
parent 0566f34ec4
commit aa46aeed78
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
2 changed files with 5 additions and 1 deletions

View File

@ -40,7 +40,7 @@ document.addEventListener('DOMContentLoaded', function (event) {
el.addEventListener("save", function() {
let dataSrc = el.getAttribute('data-src');
document.querySelectorAll('sib-display[data-src="'+dataSrc+'"]').forEach(function(e) {
e.setAttribute('data-src', dataSrc);
e.resource.clearCache();
});
});
});

View File

@ -36,6 +36,10 @@
display: contents;
}
hd-user-avatar, hd-user-avatar > * {
display: flex!important;
}
sib-set-default[name='buttons'],
.cell,
.table-header {