Skip to content

Commit c778278

Browse files
authored
Merge pull request #1621 from devtron-labs/vite_bugs
fix: Vite bugs
2 parents 1796c05 + 7c49263 commit c778278

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "0.0.63-beta-6",
7+
"@devtron-labs/devtron-fe-common-lib": "0.0.63-beta-7",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ export default function App() {
161161

162162
function update() {
163163
updateServiceWorker(true)
164+
// Trigger page reload
165+
window.location.reload()
164166
}
165167

166168
useEffect(() => {

src/components/app/details/metrics/DeploymentMetrics.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -720,9 +720,9 @@ export class FrequencyGraphLegend extends React.Component<FrequencyGraphLegendPr
720720
arrow={false}
721721
content="How often this app is deployed to production?"
722722
>
723-
<div className="flex">
723+
<span>
724724
<Help className="icon-dim-20 ml-8 dc__vertical-align-middle mr-5" />
725-
</div>
725+
</span>
726726
</Tippy>
727727
<span className="cursor" onClick={this.props.setFrequencyMetric}>
728728
{renderCategoryTag(this.props.frequencyBenchmark.name)}{' '}
@@ -753,9 +753,9 @@ export class FrequencyGraphLegend extends React.Component<FrequencyGraphLegendPr
753753
<p className="graph-legend__primary-label">
754754
Change Failure Rate
755755
<Tippy className="default-tt" arrow={false} content="How often does the pipeline fail?">
756-
<div className="flex">
756+
<span>
757757
<Help className="icon-dim-20 ml-8 dc__vertical-align-middle mr-5" />
758-
</div>
758+
</span>
759759
</Tippy>
760760
<span className="cursor" onClick={this.props.setFailureMetric}>
761761
{renderCategoryTag(this.props.failureRateBenchmark?.name)}{' '}
@@ -800,9 +800,9 @@ export class RecoveryAndLeadTimeGraphLegend extends React.Component<RecoveryAndL
800800
<p className="graph-legend__primary-label">
801801
{this.props.label}
802802
<Tippy className="default-tt" arrow={false} content={this.props.tooltipText}>
803-
<div className="flex">
803+
<span>
804804
<Help className="icon-dim-20 ml-8 dc__vertical-align-middle mr-5" />
805-
</div>
805+
</span>
806806
</Tippy>
807807
</p>
808808
<p className="graph-legend__primary-value">
@@ -818,9 +818,9 @@ export class RecoveryAndLeadTimeGraphLegend extends React.Component<RecoveryAndL
818818
<p className="graph-legend__primary-label">
819819
{this.props.label}
820820
<Tippy className="default-tt" arrow={false} content={this.props.tooltipText}>
821-
<div className="flex">
821+
<span>
822822
<Help className="icon-dim-20 ml-8 dc__vertical-align-middle mr-5" />
823-
</div>
823+
</span>
824824
</Tippy>
825825
<span className="cursor" onClick={this.props.setMetric}>
826826
{renderCategoryTag(this.props.benchmark?.name)}{' '}

src/components/app/details/metrics/deploymentMetrics.util.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ export const FailureLegendEmptyState = (props) => {
168168
<p className="graph-legend__primary-label">
169169
Change Failure Rate
170170
<Tippy className="default-tt" arrow={false} content="How often does the pipeline fail?">
171-
<div className="flex">
171+
<span>
172172
<Help className="icon-dim-20 ml-8 dc__vertical-align-middle mr-5" />
173-
</div>
173+
</span>
174174
</Tippy>
175175
</p>
176176
<div className="mt-16">

0 commit comments

Comments
 (0)