mirror of
https://github.com/discourse/discourse-solved.git
synced 2025-02-16 16:45:02 +00:00
FIX: Do not render no-answer nudge on mobile (#188)
This commit is contained in:
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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user