A platform for community discussion. Free, open, simple.
DEV: removes unused modal-tab (#27869)
Joffrey JAFFEUXb024e32e7420
diff --git a/app/assets/javascripts/discourse/app/components/modal-tab.hbs b/app/assets/javascripts/discourse/app/components/modal-tab.hbsdeleted file mode 100644index c7a7671f89a..00000000000--- a/app/assets/javascripts/discourse/app/components/modal-tab.hbs+++ /dev/null@@ -1 +0,0 @@-{{this.title}}\ No newline at end of filediff --git a/app/assets/javascripts/discourse/app/components/modal-tab.js b/app/assets/javascripts/discourse/app/components/modal-tab.jsdeleted file mode 100644index b01b39e9270..00000000000--- a/app/assets/javascripts/discourse/app/components/modal-tab.js+++ /dev/null@@ -1,29 +0,0 @@-import Component from "@ember/component";-import { equal } from "@ember/object/computed";-import { propertyEqual } from "discourse/lib/computed";-import discourseComputed from "discourse-common/utils/decorators";-import I18n from "discourse-i18n";--export default Component.extend({- tagName: "li",- classNames: ["modal-tab"],- panel: null,- selectedPanel: null,- panelsLength: null,- classNameBindings: ["isActive", "singleTab", "panel.id"],- singleTab: equal("panelsLength", 1),- isActive: propertyEqual("panel.id", "selectedPanel.id"),-- @discourseComputed("panel.title", "panel.rawTitle")- title(title, rawTitle) {- return title ? I18n.t(title) : rawTitle;- },-- click() {- this.set("selectedPanel", this.panel);-- if (this.onSelectPanel) {- this.onSelectPanel(this.panel);- }- },-});diff --git a/app/assets/stylesheets/common/admin/staff_logs.scss b/app/assets/stylesheets/common/admin/staff_logs.scssindex 600619b9560..98f44829311 100644--- a/app/assets/stylesheets/common/admin/staff_logs.scss+++ b/app/assets/stylesheets/common/admin/staff_logs.scss@@ -5,9 +5,6 @@white-space: pre-wrap;max-height: 250px;}- .modal-tab {- width: 95%;- }}.staff-actions {