1
0
mirror of synced 2026-08-05 17:56:58 +00:00

FIX: Do not render no-answer nudge on mobile (#188)

This commit is contained in:
Penar Musaraj
2022-01-23 18:41:17 +01:00
committed by GitHub
parent 833070e2a1
commit fd40559798
@@ -4,6 +4,10 @@ const ONE_WEEK = 7 * 24 * 60 * 60 * 1000; // milliseconds
const MAX_DURATION_WITH_NO_ANSWER = ONE_WEEK;
export default {
shouldRender(args, component) {
return !component.site.mobileView;
},
setupComponent(args, component) {
component.set("show", false);
component.setProperties({