Skip to content

Commit

Permalink
[mayfix] manager: Refresh after WebUI activity
Browse files Browse the repository at this point in the history
This may fix issue tiann#2250

Signed-off-by: rsuntk <[email protected]>
  • Loading branch information
rsuntk committed Dec 25, 2024
1 parent 1998a06 commit c14d432
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,10 @@ fun ModuleItem(
if (module.hasWebUi) {
FilledTonalButton(
modifier = Modifier.defaultMinSize(52.dp, 32.dp),
onClick = { onClick(module) },
onClick = {
onClick(module)
viewModel.markNeedRefresh()
},
interactionSource = interactionSource,
contentPadding = ButtonDefaults.TextButtonContentPadding
) {
Expand Down

0 comments on commit c14d432

Please sign in to comment.