chore(xo-web/home): remove 'tags' filter from selector (#5121)

See https://github.com/vatesfr/xen-orchestra/pull/5118#discussion_r447586676
This commit is contained in:
Rajaa.BARHTAOUI 2020-07-02 14:52:59 +02:00 committed by GitHub
parent 7e557ca059
commit fc7af59eb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View File

@ -7,6 +7,8 @@
> Users must be able to say: “Nice enhancement, I'm eager to test it”
- [Home] Remove 'tags' filter from the filter selector since tags have their own selector (PR [#5121](https://github.com/vatesfr/xen-orchestra/pull/5121))
### Bug fixes
> Users must be able to say: “I had this issue, happy to know it's fixed”
@ -27,3 +29,5 @@
> - major: if the change breaks compatibility
>
> In case of conflict, the highest (lowest in previous list) `$version` wins.
- xo-web minor

View File

@ -8,26 +8,21 @@ export const VM = {
homeFilterNonRunningVms: '!power_state:running ',
homeFilterHvmGuests: 'virtualizationMode:hvm ',
homeFilterRunningVms: 'power_state:running ',
homeFilterTags: 'tags:',
}
export const host = {
...common,
homeFilterRunningHosts: 'power_state:running ',
homeFilterTags: 'tags:',
}
export const pool = {
...common,
homeFilterTags: 'tags:',
}
export const vmTemplate = {
...common,
homeFilterTags: 'tags:',
}
export const SR = {
...common,
homeFilterTags: 'tags:',
}

View File

@ -236,7 +236,6 @@ const messages = {
homeFilterNonRunningVms: 'Non running VMs',
homeFilterPendingVms: 'Pending VMs',
homeFilterHvmGuests: 'HVM guests',
homeFilterTags: 'Tags',
homeSortBy: 'Sort by',
homeSortByCpus: 'CPUs',
homeSortByStartTime: 'Start time',