Use tab_domain when comparing tabs

issue10441
review381241002
(grafted from 287382c0d95e03d280b2353b7d098b634ead68f1)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier committed 2021-10-26 19:40:49 +02:00
1 parent 689cc04aee
commit 09f2165a74
1 file changed
+3 -1
+3 -1
View File
@@ -754,7 +754,9 @@
JSON.stringify(attributes.context)) &&
(compare(
this.attributes.search_value || [],
attributes.search_value || []))
attributes.search_value || [])) &&
(JSON.stringify(this.screen.attributes.tab_domain) ===
JSON.stringify(attributes.tab_domain))
);
},
_close_allowed: function() {