Remove Save button when there are no plugins

This commit is contained in:
Henrique Dias 2017-07-18 17:10:09 +01:00
parent ae2716af96
commit 5e358bebe6
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<li><router-link to="/users">Go to User Management</router-link></li> <li><router-link to="/users">Go to User Management</router-link></li>
</ul> </ul>
<form @submit="savePlugin"> <form @submit="savePlugin" v-if="plugins.length > 0">
<template v-for="plugin in plugins"> <template v-for="plugin in plugins">
<h2>{{ capitalize(plugin.name) }}</h2> <h2>{{ capitalize(plugin.name) }}</h2>