Device name added to remote config.

This commit is contained in:
2022-09-07 13:18:42 +01:00
parent ae4cfa334e
commit cdb402cd18
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -40,6 +40,7 @@ var app = new Vue({
this.socket.on("config", (data) => { this.socket.on("config", (data) => {
this.domain = data.domain; this.domain = data.domain;
this.version = data.version; this.version = data.version;
this.device = data.device;
}); });
this.socket.on("fprint-enroll-error", (data) => { this.socket.on("fprint-enroll-error", (data) => {
+1 -1
View File
@@ -24,7 +24,7 @@
<div v-if="step > 0" style="text-align: right"> <div v-if="step > 0" style="text-align: right">
<span style="cursor: pointer;" v-on:click="newEnrolment">+ New <span style="cursor: pointer;" v-on:click="newEnrolment">+ New
Enrolment</span>&nbsp;&nbsp;&bull;&nbsp;&nbsp; Enrolment</span>&nbsp;&nbsp;&bull;&nbsp;&nbsp;
<span>~{{user.username.substring(7)}}</span> &nbsp;&nbsp;&bull;&nbsp;&nbsp; <span v-on:click='logout' <span>~{{user.username.substring(7)}}</span> &nbsp;&nbsp;&bull;&nbsp;&nbsp; <span v-if="device">{{device}} &nbsp;&nbsp;&bull;&nbsp;&nbsp;</span> <span v-on:click='logout'
style="cursor: pointer; font-weight: bold;">Logout</span> style="cursor: pointer; font-weight: bold;">Logout</span>
<hr /> <hr />
</div> </div>