Private GIT

Skip to content
Snippets Groups Projects
Commit 172551dc authored by vx3r's avatar vx3r
Browse files

implement feature requests #43 and #44

parent 34a06ad2
Branches
No related tags found
No related merge requests found
......@@ -66,6 +66,7 @@
</v-row>
</template>
<template v-slot:item.action="{ item }">
<v-row>
<v-icon
class="pr-1 pl-1"
@click.stop="startUpdate(item)"
......@@ -90,6 +91,14 @@
>
mdi-trash-can-outline
</v-icon>
<v-switch
dark
class="pr-1 pl-1"
color="success"
v-model="item.enable"
v-on:change="update(item)"
/>
</v-row>
</template>
</v-data-table>
......@@ -592,7 +601,7 @@
const url = window.URL.createObjectURL(new Blob([config]))
const link = document.createElement('a')
link.href = url
link.setAttribute('download', 'wg0.conf') //or any other extension
link.setAttribute('download', client.name.split(' ').join('-') + '.conf') //or any other extension
document.body.appendChild(link)
link.click()
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment