File tree Expand file tree Collapse file tree 1 file changed +21
-23
lines changed
Expand file tree Collapse file tree 1 file changed +21
-23
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,27 @@ export default defineComponent({
5757 type: Array ,
5858 default : () => [],
5959 },
60+ mandatoryLinks: {
61+ type: Array ,
62+ default : (props ) => [
63+ {
64+ label: ` Accessibilité : ${ props .a11yCompliance } ` ,
65+ to: props .a11yComplianceLink ,
66+ },
67+ {
68+ label: ' Mentions légales' ,
69+ to: props .legalLink ,
70+ },
71+ {
72+ label: ' Données personnelles' ,
73+ to: props .personalDataLink ,
74+ },
75+ {
76+ label: ' Gestion des cookies' ,
77+ to: props .cookiesLink ,
78+ },
79+ ],
80+ },
6081 ecosystemLinks: {
6182 type: Array ,
6283 default : () => [
@@ -81,29 +102,6 @@ export default defineComponent({
81102
82103 },
83104
84- data () {
85- return {
86- mandatoryLinks: [
87- {
88- label: ` Accessibilité : ${ this .a11yCompliance } ` ,
89- to: this .a11yComplianceLink ,
90- },
91- {
92- label: ' Mentions légales' ,
93- to: this .legalLink ,
94- },
95- {
96- label: ' Données personnelles' ,
97- to: this .personalDataLink ,
98- },
99- {
100- label: ' Gestion des cookies' ,
101- to: this .cookiesLink ,
102- },
103- ],
104- }
105- },
106-
107105 computed: {
108106 allLinks () {
109107 return [
You can’t perform that action at this time.
0 commit comments