Skip to content

Commit

Permalink
fix: display status bar in correct order
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac committed Nov 21, 2024
1 parent 1fdf4fd commit aac587b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/plugins/report-feedback/ReportFeedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class ReportFeedback extends PureComponent {

return (
<Fragment>
<Fill slot="status-bar__app" group="8_feedback">
<Fill slot="status-bar__app" group="9_feedback">
<button
className={ classNames('btn', { 'btn--active': open }, css.ReportFeedback) }
title="Provide Feedback"
Expand Down
4 changes: 3 additions & 1 deletion client/src/plugins/update-checks/UpdateChecks.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,12 @@ export default class UpdateChecks extends PureComponent {
updateAvailable
} = this.state;

// using group starting with Z to display at the end of the status bar
// cf. https://github.com/camunda/camunda-modeler/commit/b79fe1dec26fac603980b2639a46dc8656661dcd#r149356417
return (
<React.Fragment>
{
updateAvailable && <Fill slot="status-bar__app" group="9_update_checks">
updateAvailable && <Fill slot="status-bar__app" group="Z_update_checks">
<button
className="btn btn--primary"
title="Toggle update info"
Expand Down
2 changes: 1 addition & 1 deletion client/src/plugins/version-info/VersionInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class VersionInfo extends PureComponent {

return (
<Fragment>
<Fill slot="status-bar__app" group="8_version-info">
<Fill slot="status-bar__app" group="9_version-info">
<button
className={ classNames('btn', { 'btn--active': open }) }
title="Toggle version info"
Expand Down

0 comments on commit aac587b

Please sign in to comment.