Remove Save button when there are no plugins

This commit is contained in:
Henrique Dias committed 2017-07-18 17:10:09 +01:00
1 parent ae2716af96
commit 5e358bebe6
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@
<li><router-link to="/users">Go to User Management</router-link></li>
</ul>
<form @submit="savePlugin">
<form @submit="savePlugin" v-if="plugins.length > 0">
<template v-for="plugin in plugins">
<h2>{{ capitalize(plugin.name) }}</h2>