Skip to content

Commit

Permalink
use undefined instead of null
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon committed Nov 21, 2016
1 parent faf3e9c commit 08b0e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/public/courier/saved_object/saved_object.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 08b0e92

Please sign in to comment.