Skip to content

Commit

Permalink
feat(pci-instances): secure flavor list
Browse files Browse the repository at this point in the history
ref: TAPC-1900
Signed-off-by: Selmen AKRMI <[email protected]>
  • Loading branch information
Selmen AKRMI committed Oct 10, 2024
1 parent 6edb862 commit 9f89b98
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class FlavorsList {
serviceName,
currentRegion,
catalogEndpoint = DEFAULT_CATALOG_ENDPOINT,
noCache
noCache,
) {
if (noCache) {
this.OvhApiCloudProjectFlavor.v6().resetQueryCache();
Expand Down Expand Up @@ -187,10 +187,10 @@ export default class FlavorsList {
isNew,
flavors: [
...filteredAndRearrangedFlavors.filter((flavor) =>
flavor?.tagsBlob.includes(TAGS_BLOB.IS_NEW),
flavor?.tagsBlob?.includes(TAGS_BLOB.IS_NEW),
),
...filteredAndRearrangedFlavors.filter(
(flavor) => !flavor?.tagsBlob.includes(TAGS_BLOB.IS_NEW),
(flavor) => !flavor?.tagsBlob?.includes(TAGS_BLOB.IS_NEW),
),
],
};
Expand Down

0 comments on commit 9f89b98

Please sign in to comment.