Commit 49aca64 1 parent 635f3f9 commit 49aca64 Copy full SHA for 49aca64
File tree 5 files changed +26
-2
lines changed
5 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -459,4 +459,16 @@ article:not(:has(table)) {
459
459
/** Fix link as button in nav margin @todo add back to vue3-starter-kit */
460
460
nav a [role = button ] {
461
461
margin-top : 0 ;
462
+ }
463
+
464
+ /** Fix inconsistent margins and borders when used in groups */
465
+ [role = group ] .dropdown : not (: first-child ),
466
+ [role = search ] .dropdown : not (: first-child ) {
467
+ margin-left : calc (var (--pico-border-width ) * -1 );
468
+ }
469
+
470
+ [role = group ]> : not (: first-child )> summary ,
471
+ [role = search ]> : not (: first-child )> summary {
472
+ border-top-left-radius : 0 ;
473
+ border-bottom-left-radius : 0 ;
462
474
}
Original file line number Diff line number Diff line change @@ -249,4 +249,12 @@ export default {
249
249
5000
250
250
) . show ( ) ;
251
251
} ,
252
+ [ eventTypes . unsubscribed ] : ( ) => {
253
+ new CustomNotification (
254
+ "success" ,
255
+ t ( "You have been unsubscribed." ) ,
256
+ [ "browser" ] ,
257
+ 5000
258
+ ) . show ( ) ;
259
+ } ,
252
260
} as Record < eventTypes , any > ;
Original file line number Diff line number Diff line change 276
276
"Create your first Smart Magic Link" : " Create your first Smart Magic Link" ,
277
277
"Edit destination" : " Edit destination" ,
278
278
"No data available" : " No data available" ,
279
- "No destinations yet" : " No destinations yet"
279
+ "No destinations yet" : " No destinations yet" ,
280
+ "You have been unsubscribed." : " You have been unsubscribed."
280
281
}
Original file line number Diff line number Diff line change 276
276
"Create your first Smart Magic Link" : " Créez votre premier lien magique intelligent" ,
277
277
"Edit destination" : " Modifier la destination" ,
278
278
"No data available" : " Pas de données disponibles" ,
279
- "No destinations yet" : " Pas encore de destinations"
279
+ "No destinations yet" : " Pas encore de destinations" ,
280
+ "You have been unsubscribed." : " Vous avez été désabonné."
280
281
}
Original file line number Diff line number Diff line change @@ -89,11 +89,13 @@ const getData = () => {
89
89
90
90
onMounted (() => {
91
91
$bus .$on (eventTypes .started_subscription , getData );
92
+ $bus .$on (eventTypes .unsubscribed , getData );
92
93
getData ();
93
94
});
94
95
95
96
onUnmounted (() => {
96
97
$bus .$off (eventTypes .started_subscription , getData );
98
+ $bus .$off (eventTypes .unsubscribed , getData );
97
99
});
98
100
</script >
99
101
<template >
You can’t perform that action at this time.
0 commit comments