Skip to content

Commit d09b150

Browse files
committed
Hides open in graph button
1 parent 0eb44e8 commit d09b150

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

src/webviews/apps/plus/home/components/active-work.ts

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ export class GlActiveWork extends SignalWatcher(LitElement) {
2929
branchCardStyles,
3030
headingLoaderStyles,
3131
css`
32+
[hidden] {
33+
display: none;
34+
}
3235
:host {
3336
display: block;
3437
margin-bottom: 2.4rem;
@@ -100,12 +103,13 @@ export class GlActiveWork extends SignalWatcher(LitElement) {
100103
>
101104
<span slot="heading-actions"
102105
><gl-button
106+
hidden
103107
aria-busy="${ifDefined(isFetching)}"
104108
?disabled=${isFetching}
105109
class="section-heading-action"
106110
appearance="toolbar"
107111
tooltip="Open in Commit Graph"
108-
@click=${(e: MouseEvent) => this.onChange(e)}
112+
@click=${(_e: MouseEvent) => {}}
109113
><code-icon icon="gl-graph"></code-icon
110114
></gl-button>
111115
${when(
@@ -323,17 +327,6 @@ export class GlActiveWork extends SignalWatcher(LitElement) {
323327
);
324328
}
325329

326-
// if (state?.ahead || state?.behind) {
327-
// rendered.push(
328-
// html`<gl-tracking-pill
329-
// colorized
330-
// outlined
331-
// ahead=${state.ahead}
332-
// behind=${state.behind}
333-
// ></gl-tracking-pill>`,
334-
// );
335-
// }
336-
337330
if (rendered.length) {
338331
return html`<p class="branch-item__section branch-item__section--details">${rendered}</p>`;
339332
}

0 commit comments

Comments
 (0)