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

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann 2021-11-15 10:13:57 -05:00
parent 3214d8dfd5
commit 16a9ac75fb
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()}>
{port.toString()}
</span>
<Button onClick={() => portForwardAction()}> {this.isPortForwarded ? "Stop" : "Forward..."} </Button>
<Button primary onClick={() => portForwardAction()}> {this.isPortForwarded ? "Stop" : "Forward..."} </Button>
{this.waiting && (
<Spinner />
)}

View File

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