Skip to content

Commit 34b0181

Browse files
author
mbrill-nt
committed
#66 Icon Mappings now use correct path
1 parent 9b72a37 commit 34b0181

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/options/iconMapping/IconMapping.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class IconMapping extends React.PureComponent<Props, State> {
2626
...props,
2727
icons: [],
2828
};
29-
fetch(assetUtils.getAssetUrl('icons/icon_index.json'))
29+
fetch(assetUtils.getAssetUrl('icon_index.json'))
3030
.then(response => response.json())
3131
.then(data => {
3232
data.sort();

src/panel/asset_utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { IconResource } from 'types';
44
export default {
55
getAssetUrl(assetName: string) {
66
var baseUrl = 'public/plugins/novatec-sdg-panel';
7-
return baseUrl + '/assets/' + assetName;
7+
return baseUrl + '/assets/icons/' + assetName;
88
},
99

1010
getTypeSymbol(type: string, externalIcons: IconResource[], resolveName = true) {

0 commit comments

Comments
 (0)