mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 12:36:25 +08:00

The current code was doing: - initial value for `showPreview` - setting another default value in `_setupPreview` The fix is to move all the computation in one initial step when initializing the property.