Skip to content

Commit

Permalink
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 authored and backslashxx committed Dec 25, 2024
1 parent de56698 commit 7952ae9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,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 7952ae9

Please sign in to comment.