1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Made 'Forward...' buttons have primary style (#4341)

This commit is contained in:
Jim Ehrismann 2021-11-15 11:16:55 -05:00 committed by GitHub
parent e51ff5051f
commit 3feb0d1651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ export class ServicePortComponent extends React.Component<Props> {
<span title="Open in a browser" onClick={() => this.portForward()}> <span title="Open in a browser" onClick={() => this.portForward()}>
{port.toString()} {port.toString()}
</span> </span>
<Button onClick={() => portForwardAction()}> {this.isPortForwarded ? "Stop" : "Forward..."} </Button> <Button primary onClick={() => portForwardAction()}> {this.isPortForwarded ? "Stop" : "Forward..."} </Button>
{this.waiting && ( {this.waiting && (
<Spinner /> <Spinner />
)} )}

View File

@ -170,7 +170,7 @@ export class PodContainerPort extends React.Component<Props> {
<span title="Open in a browser" onClick={() => this.portForward()}> <span title="Open in a browser" onClick={() => this.portForward()}>
{text} {text}
</span> </span>
<Button onClick={() => portForwardAction()}> {this.isPortForwarded ? "Stop" : "Forward..."} </Button> <Button primary onClick={() => portForwardAction()}> {this.isPortForwarded ? "Stop" : "Forward..."} </Button>
{this.waiting && ( {this.waiting && (
<Spinner /> <Spinner />
)} )}