Skip to content

Commit

Permalink
bugfix/env-var
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJJackson committed Jan 30, 2024
1 parent 7006e3a commit e0ccd28
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
VITE_INSTRUMENT_CHART: true
VITE_CROSS_SECTION: true
VITE_DEVELOPMENT_BANNER: true
VITE_MOVING_BANNER: true
VITE_API_URL: https://develop-midas-api.rsgis.dev
VITE_URL_BASE_PATH: ''
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
VITE_FORMULA_EDITOR: true
VITE_API_URL: https://midas-api.rsgis.dev
VITE_URL_BASE_PATH: ''
VITE_MOVING_BANNER: true
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
12 changes: 8 additions & 4 deletions src/app-pages/project/data-loggers/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ const generateDataLoggerOptions = (dataLoggers = []) => (
);

const generateEquivalencyOptions = (tables = []) => (
tables.map(t => ({
label: t?.table_name || <i>unnamed table</i>,
value: t?.id,
}))
tables.map(t => {
if (t?.table_name === 'preparse') return null;

return {
label: t?.table_name || <i>unnamed table</i>,
value: t?.id,
};
}).filter(e => e)
);

const DataLoggers = connect(
Expand Down

0 comments on commit e0ccd28

Please sign in to comment.