Skip to content

Commit

Permalink
Fix fields override for related table of context layer (#303)
Browse files Browse the repository at this point in the history
* Fix fields override for related table of context layer

* Keep value is none for wide excel

* Revert migrations

* Fix filter icons style
  • Loading branch information
meomancer authored Sep 18, 2024
1 parent aa8e6fe commit 882650f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion django_project/_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.42.12
1.42.13
1 change: 1 addition & 0 deletions django_project/frontend/src/app/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ $black: #000 !default;
$navbar-background-color: $primary-color;
$navbar-font-color: $anti-primary-color;
$tab-inactive-color: #CDCDCD;
$tab-active-color: #333;
$black: #000 !default;
$error: #d32f2f !default;
$warning: #fd7e14 !default;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export default function StyleConfig(
<RelatedTableConfig
originalData={data} setData={setData}
setError={setError}
RelatedTableData={layerData} useOverride={useOverride}
RelatedTableData={layerData} useOverride={true}
useOverrideLabel={useOverrideLabel}
/> :
<Fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@
}

.FilterEdit {
color: $tab-inactive-color;
color: $tab-active-color;
width: 12px;
margin-right: 5px;
}

.FilterDelete {
color: $tab-inactive-color;
color: $tab-active-color;
width: 9px;
}
}
Expand Down Expand Up @@ -250,7 +250,7 @@
.FilterGroupAdd,
.FilterGroupDelete {
background-color: rgba(0, 0, 0, 0);
color: #ADE0FF;
color: $primary-color;
}

div.MuiInputBase-root {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ def process_data_from_records(self):

# we check the values per indicator
for key, value in record.items():
if value is None:
continue

if 'indicator-' in key:
note = {}
date_time, date_time_error = self.get_date_time(record)
Expand Down

0 comments on commit 882650f

Please sign in to comment.