Fix:Plugin Installed Alerts missing from Admin Dashboard #10620
This commit is contained in:
parent
0be2817ccb
commit
435c143140
|
@ -173,6 +173,7 @@
|
||||||
- [scampower3](https://github.com/scampower3)
|
- [scampower3](https://github.com/scampower3)
|
||||||
- [Chris-Codes-It] (https://github.com/Chris-Codes-It)
|
- [Chris-Codes-It] (https://github.com/Chris-Codes-It)
|
||||||
- [Pithaya](https://github.com/Pithaya)
|
- [Pithaya](https://github.com/Pithaya)
|
||||||
|
- [Çağrı Sakaoğlu](https://github.com/ilovepilav)
|
||||||
|
|
||||||
# Emby Contributors
|
# Emby Contributors
|
||||||
|
|
||||||
|
@ -243,4 +244,4 @@
|
||||||
- [Jakob Kukla](https://github.com/jakobkukla)
|
- [Jakob Kukla](https://github.com/jakobkukla)
|
||||||
- [Utku Özdemir](https://github.com/utkuozdemir)
|
- [Utku Özdemir](https://github.com/utkuozdemir)
|
||||||
- [JPUC1143](https://github.com/Jpuc1143/)
|
- [JPUC1143](https://github.com/Jpuc1143/)
|
||||||
- [0x25CBFC4F](https://github.com/0x25CBFC4F)
|
- [0x25CBFC4F](https://github.com/0x25CBFC4F)
|
||||||
|
|
|
@ -321,9 +321,15 @@ namespace Emby.Server.Implementations.Updates
|
||||||
}
|
}
|
||||||
|
|
||||||
_completedInstallationsInternal.Add(package);
|
_completedInstallationsInternal.Add(package);
|
||||||
await _eventManager.PublishAsync(isUpdate
|
|
||||||
? (GenericEventArgs<InstallationInfo>)new PluginUpdatedEventArgs(package)
|
if (isUpdate)
|
||||||
: new PluginInstalledEventArgs(package)).ConfigureAwait(false);
|
{
|
||||||
|
await _eventManager.PublishAsync(new PluginUpdatedEventArgs(package)).ConfigureAwait(false);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
await _eventManager.PublishAsync(new PluginInstalledEventArgs(package)).ConfigureAwait(false);
|
||||||
|
}
|
||||||
|
|
||||||
_applicationHost.NotifyPendingRestart();
|
_applicationHost.NotifyPendingRestart();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user