Commit 67dcc23
Simplify ProUtils to return options directly
Refactor disable_pro_render_options_if_not_licensed to:
- Return raw options directly instead of a hash
- No longer track explicitly_disabled_pro_options
- Silently disable pro-only options when Pro is not available
This simplification removes the need to track which options
were disabled, as we no longer display a warning badge.
The method now only disables pro-only features silently,
which is the desired behavior going forward.1 parent 2daca1a commit 67dcc23
1 file changed
+11
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 14 | + | |
20 | 15 | | |
21 | 16 | | |
22 | 17 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 30 | + | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
0 commit comments