Skip to content

Commit

Permalink
Merge pull request #227 from eclipse/fix_dashboard
Browse files Browse the repository at this point in the history
Fixed dashboard npm build
  • Loading branch information
kolotu authored Sep 30, 2020
2 parents 308bed5 + 5a3fc5a commit 01ed344
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions vorto-dashboard/src/util/cardUtils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const CATEGORIES = {
export const CATEGORIES = {
LOCATION: [
'org.eclipse.vorto:Location:1.0.0',
'org.eclipse.vorto:Geolocation:1.0.0',
Expand Down Expand Up @@ -56,7 +56,7 @@ const CATEGORIES = {
]
}

function mapDeftoCardCategorie (featureDefs) {
export function mapDeftoCardCategorie (featureDefs) {
if (!featureDefs) {
return CATEGORIES.JSON
}
Expand Down Expand Up @@ -123,7 +123,4 @@ function mapDeftoCardCategorie (featureDefs) {
return CATEGORIES.JSON
}

module.exports = {
CATEGORIES,
mapDeftoCardCategorie
}

0 comments on commit 01ed344

Please sign in to comment.