Skip to content

Commit

Permalink
Add missing conditional site/store
Browse files Browse the repository at this point in the history
  • Loading branch information
aulisius committed Jul 3, 2023
1 parent 742a4f3 commit 559a564
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/SiteStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import { RuntimeSdk } from "../sdk/runtime";
const getTitle = (comingSoon) =>
comingSoon
? __("Coming Soon activated", "wp-module-ecommerce")
: __("Your store is online and ready for business!", "wp-module-ecommerce");
: RuntimeSdk.hasCapability("isEcommerce")
? __("Your store is online and ready for business!", "wp-module-ecommerce")
: __("Your site is online now!", "wp-module-ecommerce");

const getDescription = (comingSoon) =>
comingSoon
Expand Down

0 comments on commit 559a564

Please sign in to comment.