mirror of
https://github.com/ow-mods/ow-mod-man.git
synced 2025-12-11 20:15:50 +01:00
[GUI] Hide Update Alert
This commit is contained in:
parent
8bedb67e3c
commit
7458a1c857
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -3129,7 +3129,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "owmods_gui"
|
name = "owmods_gui"
|
||||||
version = "0.15.2"
|
version = "0.15.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"log",
|
"log",
|
||||||
|
|||||||
@ -53,7 +53,7 @@ const AppAlert = memo(function AppAlert() {
|
|||||||
commands.dismissAlert({ alert: alert! });
|
commands.dismissAlert({ alert: alert! });
|
||||||
}, [alert]);
|
}, [alert]);
|
||||||
|
|
||||||
if (alert === null || !alert.enabled) {
|
if (alert === null || alert.message?.startsWith("<0.15.3:") || !alert.enabled) {
|
||||||
return <></>;
|
return <></>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user