From 5f3ad6dbf165bb7ac779339f5db21ad742bf4d98 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 15 Jan 2018 10:53:25 -0500 Subject: [PATCH] client/debug: Append null to bucket editor field change diff This is necessary to truncate on index removal; otherwise, it's not possible to remove indexes through the editor. * src/client/debug/BucketClientDebugTab.js (_getStagingButtons): Append null on value change. --- src/client/debug/BucketClientDebugTab.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/debug/BucketClientDebugTab.js b/src/client/debug/BucketClientDebugTab.js index 5319689..13f8322 100644 --- a/src/client/debug/BucketClientDebugTab.js +++ b/src/client/debug/BucketClientDebugTab.js @@ -1,7 +1,7 @@ /** * Contains BucketClientDebugTab class * - * Copyright (C) 2017 R-T Specialty, LLC. + * Copyright (C) 2017, 2018 R-T Specialty, LLC. * * This file is part of the Liza Data Collection Framework * @@ -199,6 +199,7 @@ module.exports = Class( 'BucketClientDebugTab' ) { var data = {}; data[ name ] = value; + data[ name ].push( null ); // set the data staging.setValues( data );