mirror of
https://github.com/mue/mue.git
synced 2026-07-17 14:04:09 +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>
|
||||
|
||||
Reference in New Issue
Block a user