Skip to content

Commit

Permalink
feat(msp): rename tab name
Browse files Browse the repository at this point in the history
feat(msp): remove extra entry
  • Loading branch information
Zero-Rock committed Dec 31, 2021
1 parent c99596e commit fb33fbe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions shell/app/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2088,6 +2088,7 @@
"business strategy": "business strategy",
"cache time": "cache time",
"call control": "call control",
"call monitor": "call monitor",
"call type": "call type",
"caller authorization": "caller authorization",
"caller description": "caller description",
Expand Down
1 change: 1 addition & 0 deletions shell/app/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -2088,6 +2088,7 @@
"business strategy": "业务策略",
"cache time": "缓存时间",
"call control": "调用量控制",
"call monitor": "调用监控",
"call type": "调用类型",
"caller authorization": "调用方授权",
"caller description": "调用方描述",
Expand Down
7 changes: 1 addition & 6 deletions shell/app/modules/extra/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

import routers from './msp/router';

const entry = (registerModule) => {
return registerModule({
key: 'msp-extra',
routers,
});
// register some modules here
};

export default entry;
2 changes: 1 addition & 1 deletion shell/app/modules/msp/env-overview/service-list/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface Tabs {

const tabs = [
{ key: 'overview', name: i18n.t('overview') },
{ key: 'transaction', name: i18n.t('msp:transaction') },
{ key: 'transaction', name: i18n.t('msp:call monitor') },
{ key: 'anomaly', name: i18n.t('msp:exception') },
{ key: 'process', name: i18n.t('msp:process') },
];
Expand Down

0 comments on commit fb33fbe

Please sign in to comment.