From 92b6d2e6d5c82144f52561078af8499442ffa131 Mon Sep 17 00:00:00 2001 From: Charles Driesler Date: Wed, 4 Sep 2024 22:00:49 +0100 Subject: [PATCH 1/2] fix(workspaces): dismissable join banners --- packages/frontend-2/components/invite/Banner.vue | 6 ++++-- .../components/workspace/invite/Banners.vue | 14 +++++++++++++- .../invite/DiscoverableWorkspaceBanner.vue | 10 +++++++++- .../frontend-2/lib/common/helpers/constants.ts | 3 ++- 4 files changed, 28 insertions(+), 5 deletions(-) diff --git a/packages/frontend-2/components/invite/Banner.vue b/packages/frontend-2/components/invite/Banner.vue index 2ca75aa349..49b788d8a8 100644 --- a/packages/frontend-2/components/invite/Banner.vue +++ b/packages/frontend-2/components/invite/Banner.vue @@ -22,7 +22,7 @@ :disabled="loading" @click="onDeclineClick(token)" > - Decline + {{ declineMessage }} - Accept + {{ acceptMessage }} diff --git a/packages/frontend-2/components/workspace/invite/DiscoverableWorkspaceBanner.vue b/packages/frontend-2/components/workspace/invite/DiscoverableWorkspaceBanner.vue index d5780f7eb1..aa9e778a96 100644 --- a/packages/frontend-2/components/workspace/invite/DiscoverableWorkspaceBanner.vue +++ b/packages/frontend-2/components/workspace/invite/DiscoverableWorkspaceBanner.vue @@ -10,11 +10,13 @@