Browse Source

👕 Refactor to Devices.vue

main
Haris Razis 4 years ago
parent
commit
48107d0cea
No known key found for this signature in database GPG Key ID: 86A4D290ED03FAB4
  1. 4
      web/src/components/Devices.vue

4
web/src/components/Panel.vue → web/src/components/Devices.vue

@ -7,7 +7,7 @@
<div class="field is-grouped"> <div class="field is-grouped">
<p class="control"> <p class="control">
<button class="button is-success is-outlined " v-on:click="getClient"> <button class="button is-success is-outlined " v-on:click="getClient">
Fetch clients Fetch Clients
</button> </button>
</p> </p>
<p class="control"> <p class="control">
@ -55,7 +55,7 @@
import { Vue } from 'vue-class-component'; import { Vue } from 'vue-class-component';
import axios from 'axios'; import axios from 'axios';
export default class Panel extends Vue { export default class Devices extends Vue {
private error = ''; private error = '';
private hasClients = false; private hasClients = false;
private clients: Array<string> = []; private clients: Array<string> = [];
Loading…
Cancel
Save