Skip to content

Commit

Permalink
refactor: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
knightss27 committed Jul 15, 2023
1 parent 192dc26 commit 9b484b4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 20 deletions.
30 changes: 13 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,32 @@ All notable changes to this project will be documented in this file. See [standa

### [0.4.2](https://github.com/knightss27/grafana-network-weathermap/compare/v0.3.6...v0.4.2) (2023-07-05)


### Features

* background images (from urls!) ([#5](https://github.com/knightss27/grafana-network-weathermap/issues/5)) ([b00ad48](https://github.com/knightss27/grafana-network-weathermap/commit/b00ad48dd91911bc7a990212eb428bf5ebbb92c2))
* custom node icons ([#60](https://github.com/knightss27/grafana-network-weathermap/issues/60)) ([68d9b71](https://github.com/knightss27/grafana-network-weathermap/commit/68d9b717f2090ba632219ee8a0e9e6e3ef5a7f72))
* select and drag multipl nodes ([03c8d9c](https://github.com/knightss27/grafana-network-weathermap/commit/03c8d9c368d83fe136d2aaa7e10b1a4d71cd80f9))

- background images (from urls!) ([#5](https://github.com/knightss27/grafana-network-weathermap/issues/5)) ([b00ad48](https://github.com/knightss27/grafana-network-weathermap/commit/b00ad48dd91911bc7a990212eb428bf5ebbb92c2))
- custom node icons ([#60](https://github.com/knightss27/grafana-network-weathermap/issues/60)) ([68d9b71](https://github.com/knightss27/grafana-network-weathermap/commit/68d9b717f2090ba632219ee8a0e9e6e3ef5a7f72))
- select and drag multipl nodes ([03c8d9c](https://github.com/knightss27/grafana-network-weathermap/commit/03c8d9c368d83fe136d2aaa7e10b1a4d71cd80f9))

### Bug Fixes

* display all data on connection links ([580206b](https://github.com/knightss27/grafana-network-weathermap/commit/580206b408260b3bee17a3e53054a96388c02d3c))
* link labels now hoverable ([f6d1ea3](https://github.com/knightss27/grafana-network-weathermap/commit/f6d1ea3550ebca76c40650361bc3ecdbf9033f5f))
* temp changes no longer written to state ([#61](https://github.com/knightss27/grafana-network-weathermap/issues/61)) ([cb6d3e3](https://github.com/knightss27/grafana-network-weathermap/commit/cb6d3e32876175ed32ea6c6ac934252d65f01e74))
* update grafana dependency ([323eaec](https://github.com/knightss27/grafana-network-weathermap/commit/323eaecbc8a7bf7d9f984d7dbc5ccb3234dfbe62))
- display all data on connection links ([580206b](https://github.com/knightss27/grafana-network-weathermap/commit/580206b408260b3bee17a3e53054a96388c02d3c))
- link labels now hoverable ([f6d1ea3](https://github.com/knightss27/grafana-network-weathermap/commit/f6d1ea3550ebca76c40650361bc3ecdbf9033f5f))
- temp changes no longer written to state ([#61](https://github.com/knightss27/grafana-network-weathermap/issues/61)) ([cb6d3e3](https://github.com/knightss27/grafana-network-weathermap/commit/cb6d3e32876175ed32ea6c6ac934252d65f01e74))
- update grafana dependency ([323eaec](https://github.com/knightss27/grafana-network-weathermap/commit/323eaecbc8a7bf7d9f984d7dbc5ccb3234dfbe62))

### [0.4.1](https://github.com/knightss27/grafana-network-weathermap/compare/v0.3.6...v0.4.1) (2023-07-05)


### Features

* background images (from urls!) ([#5](https://github.com/knightss27/grafana-network-weathermap/issues/5)) ([b00ad48](https://github.com/knightss27/grafana-network-weathermap/commit/b00ad48dd91911bc7a990212eb428bf5ebbb92c2))
* custom node icons ([#60](https://github.com/knightss27/grafana-network-weathermap/issues/60)) ([68d9b71](https://github.com/knightss27/grafana-network-weathermap/commit/68d9b717f2090ba632219ee8a0e9e6e3ef5a7f72))
* select and drag multipl nodes ([03c8d9c](https://github.com/knightss27/grafana-network-weathermap/commit/03c8d9c368d83fe136d2aaa7e10b1a4d71cd80f9))

- background images (from urls!) ([#5](https://github.com/knightss27/grafana-network-weathermap/issues/5)) ([b00ad48](https://github.com/knightss27/grafana-network-weathermap/commit/b00ad48dd91911bc7a990212eb428bf5ebbb92c2))
- custom node icons ([#60](https://github.com/knightss27/grafana-network-weathermap/issues/60)) ([68d9b71](https://github.com/knightss27/grafana-network-weathermap/commit/68d9b717f2090ba632219ee8a0e9e6e3ef5a7f72))
- select and drag multipl nodes ([03c8d9c](https://github.com/knightss27/grafana-network-weathermap/commit/03c8d9c368d83fe136d2aaa7e10b1a4d71cd80f9))

### Bug Fixes

* display all data on connection links ([580206b](https://github.com/knightss27/grafana-network-weathermap/commit/580206b408260b3bee17a3e53054a96388c02d3c))
* link labels now hoverable ([f6d1ea3](https://github.com/knightss27/grafana-network-weathermap/commit/f6d1ea3550ebca76c40650361bc3ecdbf9033f5f))
* temp changes no longer written to state ([#61](https://github.com/knightss27/grafana-network-weathermap/issues/61)) ([cb6d3e3](https://github.com/knightss27/grafana-network-weathermap/commit/cb6d3e32876175ed32ea6c6ac934252d65f01e74))
- display all data on connection links ([580206b](https://github.com/knightss27/grafana-network-weathermap/commit/580206b408260b3bee17a3e53054a96388c02d3c))
- link labels now hoverable ([f6d1ea3](https://github.com/knightss27/grafana-network-weathermap/commit/f6d1ea3550ebca76c40650361bc3ecdbf9033f5f))
- temp changes no longer written to state ([#61](https://github.com/knightss27/grafana-network-weathermap/issues/61)) ([cb6d3e3](https://github.com/knightss27/grafana-network-weathermap/commit/cb6d3e32876175ed32ea6c6ac934252d65f01e74))

### [0.3.6](https://github.com/knightss27/grafana-network-weathermap/compare/v0.3.5...v0.3.6) (2023-03-26)

Expand Down
6 changes: 3 additions & 3 deletions src/WeathermapPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ export const WeathermapPanel: React.FC<PanelProps<SimpleOptions>> = (props: Pane
}
try {
dataFrameWithIds.push({
value: frame.fields[1].values.get(frame.fields[1].values.length - 1),
id: getDataFrameName(frame, data.series),
});
value: frame.fields[1].values.get(frame.fields[1].values.length - 1),
id: getDataFrameName(frame, data.series),
});
} catch (e) {
console.warn('Network Weathermap: Error while attempting to access query data.', e);
}
Expand Down

0 comments on commit 9b484b4

Please sign in to comment.