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