diff --git a/src/App.vue b/src/App.vue index 417c7de3..61e4e262 100644 --- a/src/App.vue +++ b/src/App.vue @@ -58,6 +58,16 @@ export default { }; }, computed: { + /** + * @return {Str} - Mqtt client id of our connection + */ + mqttClientId() { + try { + return this.client.options.clientId; + } catch (error) { + return undefined; + } + }, /** * @return {Array} - Array of topics (String) */ diff --git a/src/components/OpenwbPageNavbar.vue b/src/components/OpenwbPageNavbar.vue index 9f3f058e..d7d8fef6 100644 --- a/src/components/OpenwbPageNavbar.vue +++ b/src/components/OpenwbPageNavbar.vue @@ -198,6 +198,33 @@ Status +