Skip to content

Commit e557057

Browse files
committed
Update buttons when the title changes, v2.18.3
1 parent c547483 commit e557057

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.18.3] - 2025-01-15
11+
12+
### Fixed
13+
14+
- Update buttons when the title changes
15+
1016
## [2.18.2] - 2025-01-15
1117

1218
### Added
@@ -699,6 +705,7 @@ Please see the [Releases](https://github.com/Open-EO/openeo-vue-components/relea
699705

700706

701707
[Unreleased]: https://github.com/Open-EO/openeo-vue-components/compare/v2.18.2...HEAD
708+
[2.18.3]: https://github.com/Open-EO/openeo-vue-components/compare/v2.18.2...v2.18.3
702709
[2.18.2]: https://github.com/Open-EO/openeo-vue-components/compare/v2.18.1...v2.18.2
703710
[2.18.1]: https://github.com/Open-EO/openeo-vue-components/compare/v2.18.0...v2.18.1
704711
[2.18.0]: https://github.com/Open-EO/openeo-vue-components/compare/v2.17.1...v2.18.0

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A set of [Vue](https://vuejs.org) components for [openEO](http://openeo.org).
44

5-
This library's version is [**2.18.2**](CHANGELOG.md) and supports **openEO API versions 1.x.x**.
5+
This library's version is [**2.18.3**](CHANGELOG.md) and supports **openEO API versions 1.x.x**.
66
Legacy versions supporting API version 0.x are available as [releases](https://github.com/Open-EO/openeo-vue-components/releases).
77

88
npm: [@openeo/vue-components](https://www.npmjs.com/package/@openeo/vue-components)

components/internal/BButton.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ export default {
7878
else {
7979
this.removeTooltip();
8080
}
81+
},
82+
title() {
83+
this.updateTooltip();
8184
}
8285
},
8386
methods: {
@@ -90,14 +93,14 @@ export default {
9093
}
9194
this.element = document.createElement('div');
9295
this.element.className = 'openeo-vue-tooltip';
93-
this.element.innerText = this.title;
9496
this.container.appendChild(this.element);
9597
this.updateTooltip();
9698
},
9799
updateTooltip() {
98100
if (!this.element) {
99101
return;
100102
}
103+
this.element.innerText = this.title;
101104
const el = this.$refs.button;
102105
const pos = el.getBoundingClientRect();
103106
this.element.style.top = Math.max(0, (pos.top + el.offsetHeight)) + 1 + 'px';

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openeo/vue-components",
3-
"version": "2.18.2",
3+
"version": "2.18.3",
44
"author": "openEO Consortium",
55
"contributors": [
66
{

0 commit comments

Comments
 (0)