From 190a7ed1ab36c946e5dc34923defa5bdeadc7a30 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 12 Oct 2023 15:32:44 +0000 Subject: [PATCH 1/2] chore(deps): update dependency node to v18.18.1 --- .node-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.node-version b/.node-version index 02c8b485..f6610cad 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -18.18.0 +18.18.1 From d34893f86609155c6c3a876e77ca4fabc139743c Mon Sep 17 00:00:00 2001 From: Ian Krieger Date: Thu, 12 Oct 2023 11:35:41 -0400 Subject: [PATCH 2/2] fix: change order --- src/user/campaignList/CampaignList.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/user/campaignList/CampaignList.tsx b/src/user/campaignList/CampaignList.tsx index 97c3738e..668aa60a 100644 --- a/src/user/campaignList/CampaignList.tsx +++ b/src/user/campaignList/CampaignList.tsx @@ -129,17 +129,6 @@ export function CampaignList({ if (advertiser?.selfServiceManageCampaign) { initialSort += 2; columns.unshift( - { - title: "On/Off", - value: (c) => c.state, - extendedRenderer: (r) => - campaignOnOffState({ - ...r, - advertiserId: advertiser?.id ?? "", - }), - sx: { width: "1px", p: 0 }, - sortable: false, - }, { title: "", value: (c) => c.id, @@ -154,6 +143,17 @@ export function CampaignList({ align: "center", sx: { width: "1px" }, }, + { + title: "On/Off", + value: (c) => c.state, + extendedRenderer: (r) => + campaignOnOffState({ + ...r, + advertiserId: advertiser?.id ?? "", + }), + sx: { width: "1px", p: 0 }, + sortable: false, + }, ); }