1
0
Fork 0

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.
master
Mike Gerwitz 2018-01-15 10:53:25 -05:00
parent 87c4cf50d2
commit 5f3ad6dbf1
1 changed files with 2 additions and 1 deletions

View File

@ -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 );