1
0
mirror of synced 2026-08-04 09:26:54 +00:00

Revert "DEV: Migrate from {{user-selector}} to {{email-group-user-chooser}} (#94)" (#102)

The reverted commit pinned the plugin version on stable because the changes in that commit aren't compatible with stable. However, the version that we pinned the plugin to has a bug on stable and https://github.com/discourse/discourse-data-explorer/commit/50e62d84e854b8980e2201f729573f5ce5a8d2fc fixes that bug. So we need to temporarily revert https://github.com/discourse/discourse-data-explorer/commit/5e24556b24f76fe664a732339c773d58ab106fbe to unpin the plugin and I'll create another PR to undo this revert and re-pin the plugin version to this commit for sites on stable.

Meta topic: https://meta.discourse.org/t/data-explorer-editing-broken-on-stable/181274/11?u=osama.
This commit is contained in:
Osama Sayegh
2021-03-06 14:48:58 +03:00
committed by GitHub
parent b46fe2856d
commit 60ffd4bc4d
4 changed files with 2 additions and 16 deletions
-1
View File
@@ -1,2 +1 @@
2.7.0.beta3: 9d86b8b653a6e4715d9a1e4a39537cd114f6c799
2.6.0.beta2: 16873e708a3c924549e77f3fea011069358d1511
@@ -47,10 +47,6 @@ const Query = RestModel.extend({
newParams[name] = pinfo["default"];
} else if (pinfo["type"] === "boolean") {
newParams[name] = "false";
} else if (pinfo["type"] === "user_id") {
newParams[name] = null;
} else if (pinfo["type"] === "user_list") {
newParams[name] = null;
} else {
newParams[name] = "";
}
@@ -1,8 +1,2 @@
{{email-group-user-chooser
value=value
options=(hash
maximum=1
)
onChange=(action (mut value))
}}
{{user-selector usernames=value single="true"}}
<span class="param-name">{{info.identifier}}</span>
@@ -1,5 +1,2 @@
{{email-group-user-chooser
value=value
onChange=(action (mut value))
}}
{{user-selector usernames=value}}
<span class="param-name">{{info.identifier}}</span>