Remove Save button when there are no plugins

Former-commit-id: c8413dae6263ffb7cab92d5d0b147ee2fd43d502 [formerly aa4739ea770f0eb8b94d17eb0bfb543386d83af5] [formerly 2a32d16962c43b72dc1c88215b514b0106e6f018 [formerly 5e358bebe6]]
Former-commit-id: 84ba3bde0373a401f1ebea17344305163bb44894 [formerly d3e2c6c2676141891013944785c5abf0427ad585]
Former-commit-id: 47127b5c454a926331fa2a0f672eb16f169cf44e
This commit is contained in:
Henrique Dias 2017-07-18 17:10:09 +01:00
parent 83c8df94f7
commit 64e9005367
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>