fix bugs after refactor

This commit is contained in:
Chika 2021-04-15 14:35:22 +03:00
parent d1380a7c81
commit ab883da9fc
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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];