[pbs-devel] applied: [PATCH proxmox-backup 2/2] ui: fix in-progress snapshots always showing as "Encrypted"

Dietmar Maurer dietmar at proxmox.com
Wed Jul 29 07:13:56 CEST 2020


applied

> On 07/28/2020 2:32 PM Stefan Reiter <s.reiter at proxmox.com> wrote:
> 
>  
> We can't know if they are encrypted or not when they're not even
> finished yet.
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
>  www/DataStoreContent.js | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/www/DataStoreContent.js b/www/DataStoreContent.js
> index 1c08f56a..e8690486 100644
> --- a/www/DataStoreContent.js
> +++ b/www/DataStoreContent.js
> @@ -549,6 +549,9 @@ Ext.define('PBS.DataStoreContent', {
>  	    header: gettext('Encrypted'),
>  	    dataIndex: 'crypt-mode',
>  	    renderer: (v, meta, record) => {
> +		if (record.data.size === undefined || record.data.size === null) {
> +		    return '';
> +		}
>  		if (v === -1) {
>  		    return '';
>  		}
> -- 
> 2.20.1
> 
> 
> 
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel





More information about the pbs-devel mailing list