This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
The following commit(s) were added to refs/heads/master by this push:
new 24a84bd clarify null values from "null" values in inspector
24a84bd is described below
commit 24a84bde9bad4a18bc121924b9a6c107f884b455
Author: Alex Heneveld <[email protected]>
AuthorDate: Mon Aug 9 11:03:29 2021 +0100
clarify null values from "null" values in inspector
---
.../components/config-sensor-table/config-sensor-table.template.html | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/ui-modules/app-inspector/app/components/config-sensor-table/config-sensor-table.template.html
b/ui-modules/app-inspector/app/components/config-sensor-table/config-sensor-table.template.html
index 64423d7..993cf3a 100644
---
a/ui-modules/app-inspector/app/components/config-sensor-table/config-sensor-table.template.html
+++
b/ui-modules/app-inspector/app/components/config-sensor-table/config-sensor-table.template.html
@@ -37,8 +37,9 @@
</td>
<td sensitive-field field-name="{{item.key}}"
class="copyable-value">
- <span ng-bind-html="item.value |
brLinky:mapInfo[item.key]"></span>
- <button class="btn btn-default btn-sm pull-right" ngclipboard
ngclipboard-success="onClipboardSuccess(e)"
ngclipboard-error="onClipboardError(e)" data-clipboard-text="{{item.value}}"
uib-tooltip="Copied!" tooltip-trigger="{'copied': 'mouseleave'}"
tooltip-placement="left">
+ <span ng-if="item.value === null"><i>value not set</i></span>
+ <span ng-if="item.value !== null" ng-bind-html="item.value |
brLinky:mapInfo[item.key]"></span>
+ <button ng-if="item.value !== null" class="btn btn-default
btn-sm pull-right" ngclipboard ngclipboard-success="onClipboardSuccess(e)"
ngclipboard-error="onClipboardError(e)" data-clipboard-text="{{item.value}}"
uib-tooltip="Copied!" tooltip-trigger="{'copied': 'mouseleave'}"
tooltip-placement="left">
<i class="fa fa-clipboard"></i>
</button>
</td>