Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/util/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ export const handleHelpLinksClick = () => {
* @return {boolean} Whether or not this is a jarvis site.
*/
export const isJarvis = () => {
if ( NewfoldRuntime.hasCapability( 'isJarvis' ) ) {
return window.NewfoldRuntime.capabilities.isJarvis;
if ( window.NewfoldRuntime.capabilities.hasOwnProperty( 'isJarvis' ) ) {
return NewfoldRuntime.hasCapability( 'isJarvis' );
}
return true;
};
Loading