From 9d7e4e22d5ab41dcd9d9b08293a52fbf241235a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Wed, 21 Feb 2018 22:43:58 +0000 Subject: [PATCH] fix(my-joy-beta): fix pkg vcpus sort --- .../my-joy-beta/src/components/create-instance/package.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/my-joy-beta/src/components/create-instance/package.js b/packages/my-joy-beta/src/components/create-instance/package.js index af902acd..2eb7692b 100644 --- a/packages/my-joy-beta/src/components/create-instance/package.js +++ b/packages/my-joy-beta/src/components/create-instance/package.js @@ -154,7 +154,7 @@ export const Package = ({ )} {hasVms && ( - + {vcpus} )} @@ -213,9 +213,9 @@ export const Packages = ({ {hasVms && ( onSortBy('vcpu', sortOrder)} + onClick={() => onSortBy('vcpus', sortOrder)} sortOrder={sortOrder} - showSort={sortBy === 'vcpu'} + showSort={sortBy === 'vcpus'} right middle actionable