fix bugs after refactor
This commit is contained in:
parent
d1380a7c81
commit
ab883da9fc
@ -18,7 +18,7 @@ const LogoText = styled.h3`
|
||||
margin: 0;
|
||||
margin-top: -3px;
|
||||
text-transform: uppercase;
|
||||
color: ${colors.white[0]};
|
||||
color: ${colors.WHITE[0]};
|
||||
font-size: 0.95rem;
|
||||
font-family: 'Montserrat';
|
||||
font-weight: 500;
|
||||
|
||||
@ -45,7 +45,7 @@ const valuesActions = {
|
||||
},
|
||||
|
||||
getOption(elementName, fields) {
|
||||
if (!this.options.elementName) {
|
||||
if (!this.options[elementName]) {
|
||||
return;
|
||||
}
|
||||
if (!fields) {
|
||||
@ -58,7 +58,7 @@ const valuesActions = {
|
||||
});
|
||||
},
|
||||
getOptions(elementName, fields) {
|
||||
if (!this.options.elementName) {
|
||||
if (!this.options[elementName]) {
|
||||
return;
|
||||
}
|
||||
if (!fields) return this.options[elementName];
|
||||
|
||||
Reference in New Issue
Block a user