Set `is_deleted` from the database when instantiating a `Note` (https://github.com/woocommerce/woocommerce-admin/pull/6322)
This commit is contained in:
parent
c9c843a1fb
commit
f8d96f1b50
|
@ -109,6 +109,7 @@ class DataStore extends \WC_Data_Store_WP implements \WC_Object_Data_Store_Inter
|
|||
$note->set_date_created( $note_row->date_created );
|
||||
$note->set_date_reminder( $note_row->date_reminder );
|
||||
$note->set_is_snoozable( $note_row->is_snoozable );
|
||||
$note->set_is_deleted( (bool) $note_row->is_deleted );
|
||||
$note->set_layout( $note_row->layout );
|
||||
$note->set_image( $note_row->image );
|
||||
$this->read_actions( $note );
|
||||
|
|
Loading…
Reference in New Issue