fixup: "Install style" should not persist on click
This commit is contained in:
parent
5a67d926da
commit
cd84a33a53
|
@ -130,7 +130,7 @@ function saveStyleCode(message, name, addProps) {
|
||||||
reason: 'update',
|
reason: 'update',
|
||||||
}),
|
}),
|
||||||
style => {
|
style => {
|
||||||
if (style.updateUrl.includes('?')) {
|
if (message == 'styleUpdate' && style.updateUrl.includes('?')) {
|
||||||
enableUpdateButton(true);
|
enableUpdateButton(true);
|
||||||
} else {
|
} else {
|
||||||
sendEvent('styleInstalledChrome');
|
sendEvent('styleInstalledChrome');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user