]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/qemu/Config.js
ui: reuse ResourceStores default handling for guest description
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 21 Sep 2017 09:03:26 +0000 (11:03 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 22 Sep 2017 08:41:57 +0000 (10:41 +0200)
commit4ad508efc97d5f43ed1550242024387cac183107
treedd35cf4700b6efaca97e752ef61c99a6731f993e
parenta5c94797056bd1810c85d327301098b62e9051d3
ui: reuse ResourceStores default handling for guest description

First, there was an additional space between "'" and ")" which lead
me to this.
I could never trigger the case where vmname is undefined, and saw
that we have a almost same default handling in data/ResourceStore.js

So, just use that one instead here - it misses the single-quotes
inside the parentheses, but as there are already said parentheses
this is visually still very OK, IMO.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/lxc/Config.js
www/manager6/qemu/Config.js