Skip to content

Commit

Permalink
chore(release): 2.14.2
Browse files Browse the repository at this point in the history
## [2.14.2](v2.14.1...v2.14.2) (2021-07-24)

### Bug Fixes

* added try/catch to peer_fetch method ([35c3d93](35c3d93))
* fixed misaligned navbar icons ([ca5d6e7](ca5d6e7)), closes [#677](#677)
* fixed misaligned navbar icons ([cc6d1b4](cc6d1b4))
  • Loading branch information
semantic-release-bot authored and vickywane committed Jul 26, 2021
1 parent 99924e7 commit dc93969
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Semantic Versioning Changelog

## [2.14.2](https://github.com/ambianic/ambianic-ui/compare/v2.14.1...v2.14.2) (2021-07-24)


### Bug Fixes

* added try/catch to peer_fetch method ([35c3d93](https://github.com/ambianic/ambianic-ui/commit/35c3d931d8310f8660307f4ff386af24dee6c73b))
* fixed misaligned navbar icons ([ca5d6e7](https://github.com/ambianic/ambianic-ui/commit/ca5d6e77badf0440e2eeda72412af2803a0db7e3)), closes [#677](https://github.com/ambianic/ambianic-ui/issues/677)
* fixed misaligned navbar icons ([cc6d1b4](https://github.com/ambianic/ambianic-ui/commit/cc6d1b452d36ea2505afbccafb160c96284ea24b))

## [2.14.1](https://github.com/ambianic/ambianic-ui/compare/v2.14.0...v2.14.1) (2021-04-18)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ambianic-ui",
"version": "2.14.1",
"version": "2.14.2",
"description": "Ambianic UI is the main user interface to Ambianic Edge deployments.",
"author": "Ivelin Ivanov",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const setTimelineEventIcon = (inf) => {
if (inf.length > 0) {
topLabel = inf[0].label
}
let icon = 'mdi-corshairs-question'
let icon = 'mdi-crosshairs-question'
switch (topLabel) {
case 'person':
icon = 'mdi-human'
Expand Down
1 change: 0 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ VueApp.$mount('#app')

if (window.Cypress) {
window.__store__ = store
window.vue = VueApp
}
3 changes: 0 additions & 3 deletions src/views/Timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@
<template v-if="isImageLoaded[index]">
<detection-boxes
:detections="sample.args.inference_result"
:tensor_image_size="
sample.args.inference_meta.tensor_image_size
"
/>
<event-icon :data="sample" />
</template>
Expand Down
3 changes: 3 additions & 0 deletions tests/unit/components/timeline/eventicon.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,8 @@ describe('EventIcon', () => {

icon = setTimelineEventIcon(MockData[5].args.inference_result)
expect(icon).toBe('mdi-dog')

icon = setTimelineEventIcon('')
expect(icon).toBe('mdi-crosshairs-question')
})
})

0 comments on commit dc93969

Please sign in to comment.