Skip to content

Commit

Permalink
remove copy field on top of artifact-datagrid
Browse files Browse the repository at this point in the history
Signed-off-by: bupd <[email protected]>
  • Loading branch information
bupd committed Nov 30, 2024
1 parent b0bab10 commit 2d04c57
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,6 @@
</clr-dropdown>
</div>
<div class="right-pos">
<app-pull-command
[registryUrl]="registryUrl"
[projectName]="projectName"
[repoName]="repoName"
[isTopModel]="true"
class="mr-1"></app-pull-command>

<app-artifact-filter
[withDivider]="true"
(filterEvent)="filterEvent($event)"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
<div *ngIf="isTopModel" class="form-group">
<hbr-copy-input
#copyInputComponent
(onCopySuccess)="onCpSuccess(getPullCommandForTopModel())"
inputSize="30"
headerTitle=""
defaultValue="{{ getPullCommandForTopModel() }}"></hbr-copy-input>
</div>

<clr-dropdown *ngIf="!isTopModel && !isTagMode">
<clr-dropdown *ngIf="!isTagMode">
<hbr-copy-input
*ngIf="isImage(artifact)"
[title]="getPullCommandForRuntimeByDigest(artifact)"
Expand Down Expand Up @@ -42,7 +33,7 @@

<clr-dropdown
class="mr-1"
*ngIf="isTagMode && !isTopModel"
*ngIf="isTagMode"
[disabled]="!hasPullCommandForTag(artifact)">
<hbr-copy-input
*ngIf="isImage(artifact)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import { TranslateService } from '@ngx-translate/core';
styleUrls: ['./pull-command.component.scss'],
})
export class PullCommandComponent {
@Input()
isTopModel: boolean = false; // TopModel is for tab top component,
@Input()
isTagMode: boolean = false; // tagMode is for tag list datagrid,
@Input()
Expand Down

0 comments on commit 2d04c57

Please sign in to comment.