From 08b0e9258359579b450cf87d1d167ce5ea48327d Mon Sep 17 00:00:00 2001 From: Stacey Gammon Date: Mon, 21 Nov 2016 12:35:56 -0500 Subject: [PATCH] use undefined instead of null --- src/ui/public/courier/saved_object/saved_object.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/public/courier/saved_object/saved_object.js b/src/ui/public/courier/saved_object/saved_object.js index 933cc66c6a772..50cac45cf5e89 100644 --- a/src/ui/public/courier/saved_object/saved_object.js +++ b/src/ui/public/courier/saved_object/saved_object.js @@ -59,7 +59,7 @@ export default function SavedObjectFactory(es, kbnIndex, Promise, Private, Notif let customInit = config.init || _.noop; // optional search source which this object configures - self.searchSource = config.searchSource ? new SearchSource() : null; + self.searchSource = config.searchSource ? new SearchSource() : undefined; // the id of the document self.id = config.id || void 0;