Skip to content

Commit da416e4

Browse files
aristathCopilot
andauthored
Update assets/js/suggested-task-terms.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f361613 commit da416e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/js/suggested-task-terms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const prplTerms = {
9595
error
9696
);
9797
// Resolve with empty object on error.
98-
resolve( prplSuggestedTasksTerms[ taxonomy ] );
98+
resolve( prplSuggestedTasksTerms[ taxonomy ] || {} );
9999
} );
100100
} );
101101
},

0 commit comments

Comments
 (0)