Skip to content

Commit

Permalink
frontend: plugin: Sync plugin version with backend
Browse files Browse the repository at this point in the history
This change allows the frontend to update plugin fields from the
backend, avoiding the case where a plugin is updated but the version
number does not reflect this.

Fixes: #2535

Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
  • Loading branch information
skoeva committed Nov 15, 2024
1 parent 920445e commit 01e151e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,10 @@ export function updateSettingsPackages(
isEnabled: true,
};
}
return settingsPlugins[index];
return {
...plugin,
...settingsPlugins[index],
};
});
}

Expand Down

0 comments on commit 01e151e

Please sign in to comment.