1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Sync metadata changes to UI

This commit is contained in:
Bogdan
2024-10-24 11:10:29 +03:00
parent 00d50a030c
commit 748d888520
2 changed files with 8 additions and 19 deletions
@@ -226,6 +226,14 @@ class SignalRConnector extends Component {
}
};
handleMetadata = ({ action, resource }) => {
const section = 'settings.metadata';
if (action === 'updated') {
this.props.dispatchUpdateItem({ section, ...resource });
}
};
handleNotification = ({ action, resource }) => {
const section = 'settings.notifications';