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
parent
87c4cf50d2
commit
5f3ad6dbf1
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* Contains BucketClientDebugTab class
|
* 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
|
* This file is part of the Liza Data Collection Framework
|
||||||
*
|
*
|
||||||
|
@ -199,6 +199,7 @@ module.exports = Class( 'BucketClientDebugTab' )
|
||||||
{
|
{
|
||||||
var data = {};
|
var data = {};
|
||||||
data[ name ] = value;
|
data[ name ] = value;
|
||||||
|
data[ name ].push( null );
|
||||||
|
|
||||||
// set the data
|
// set the data
|
||||||
staging.setValues( data );
|
staging.setValues( data );
|
||||||
|
|
Loading…
Reference in New Issue