mirror of
https://github.com/mue/mue.git
synced 2026-07-16 21:44:22 +02:00
chore: styling, remove deprecated vite config, possible img on demo fix
This commit is contained in:
@@ -82,8 +82,7 @@ class Quote extends PureComponent {
|
||||
this.quote = createRef();
|
||||
this.quotediv = createRef();
|
||||
this.quoteauthor = createRef();
|
||||
this.authorDetails = localStorage.getItem('authorDetails') === 'true' ? true : false;
|
||||
console.log("authorDetails", this.authorDetails);
|
||||
this.authorDetails = (localStorage.getItem('authorDetails') === 'true' || true) ? true : false;
|
||||
}
|
||||
|
||||
useFavourite() {
|
||||
|
||||
@@ -146,20 +146,20 @@ class QuoteOptions extends PureComponent {
|
||||
<Action>
|
||||
<Checkbox
|
||||
name="authorDetails"
|
||||
text = {variables.getMessage(`${QUOTE_SECTION}.author_details`)}
|
||||
text={variables.getMessage(`${QUOTE_SECTION}.author_details`)}
|
||||
element=".other"
|
||||
/>
|
||||
<Checkbox
|
||||
name="authorLink"
|
||||
text={variables.getMessage(`${QUOTE_SECTION}.author_link`)}
|
||||
element=".other"
|
||||
disabled={localStorage.getItem('authorDetails')==='false'}
|
||||
disabled={localStorage.getItem('authorDetails' )=== 'false'}
|
||||
/>
|
||||
<Checkbox
|
||||
name="authorImg"
|
||||
text={variables.getMessage(`${QUOTE_SECTION}.author_img`)}
|
||||
element=".other"
|
||||
disabled={localStorage.getItem('authorDetails')==='false'}
|
||||
disabled={localStorage.getItem('authorDetails') === 'false'}
|
||||
/>
|
||||
</Action>
|
||||
</Row>
|
||||
|
||||
@@ -274,5 +274,9 @@
|
||||
{
|
||||
"name": "customEvents",
|
||||
"value": "[{\"id\":\"widgets.greeting.christmas\",\"name\":\"Merry Christmas\",\"month\":12,\"date\":25},{\"id\":\"widgets.greeting.newyear\",\"name\":\"Happy New Year\",\"month\":1,\"date\":1},{\"id\":\"widgets.greeting.halloween\",\"name\":\"Happy Halloween\",\"month\":10,\"date\":31}]"
|
||||
},
|
||||
{
|
||||
"name": "authorDetails",
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user