Update for private function and bundle size
This commit is contained in:
@@ -37,13 +37,13 @@
|
|||||||
"budgets": [
|
"budgets": [
|
||||||
{
|
{
|
||||||
"type": "initial",
|
"type": "initial",
|
||||||
"maximumWarning": "500kb",
|
"maximumWarning": "1mb",
|
||||||
"maximumError": "1mb"
|
"maximumError": "2mb"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "anyComponentStyle",
|
"type": "anyComponentStyle",
|
||||||
"maximumWarning": "100kb",
|
"maximumWarning": "200kb",
|
||||||
"maximumError": "400kb"
|
"maximumError": "500kb"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outputHashing": "all"
|
"outputHashing": "all"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<span>Push Image Commands</span>
|
<span>Push Image Commands</span>
|
||||||
</button>
|
</button>
|
||||||
<mat-divider></mat-divider>
|
<mat-divider></mat-divider>
|
||||||
<button mat-menu-item (click)="searchFilterService.clearSearchHistory()">
|
<button mat-menu-item (click)="clearSearchHistory()">
|
||||||
<mat-icon>history</mat-icon>
|
<mat-icon>history</mat-icon>
|
||||||
<span>Clear Search History</span>
|
<span>Clear Search History</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -290,6 +290,10 @@ export class AppComponent implements OnInit {
|
|||||||
this.searchFilterService.toggleFavorite(repository.name);
|
this.searchFilterService.toggleFavorite(repository.name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clearSearchHistory(): void {
|
||||||
|
this.searchFilterService.clearSearchHistory();
|
||||||
|
}
|
||||||
|
|
||||||
// Delete operations
|
// Delete operations
|
||||||
async deleteTag(repository: Repository, tag: Tag): Promise<void> {
|
async deleteTag(repository: Repository, tag: Tag): Promise<void> {
|
||||||
const isLastTag = await this.registryService.isLastTag(repository.name);
|
const isLastTag = await this.registryService.isLastTag(repository.name);
|
||||||
|
|||||||
Reference in New Issue
Block a user