Fix popup inline style install/uninstall
This commit is contained in:
parent
59c02dfbed
commit
1ff89acda3
|
@ -252,6 +252,7 @@ const styleManager = (() => {
|
|||
method,
|
||||
style: {
|
||||
id: data.id,
|
||||
md5Url: data.md5Url,
|
||||
enabled: data.enabled
|
||||
},
|
||||
reason,
|
||||
|
|
|
@ -132,7 +132,7 @@ window.addEventListener('showStyles:done', function _() {
|
|||
}, {passive: true});
|
||||
}
|
||||
|
||||
addEventListener('styleDeleted', ({detail: {id}}) => {
|
||||
addEventListener('styleDeleted', ({detail: {style: {id}}}) => {
|
||||
const result = processedResults.find(r => r.installedStyleId === id);
|
||||
if (result) {
|
||||
result.installed = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user