Skip to content

Commit

Permalink
Remove New! chip from Entities tab (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktuite authored Apr 19, 2024
1 parent d4e2835 commit 0da5498
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/project/show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ except according to the terms contained in the LICENSE file.
role="presentation">
<router-link :to="tabPath('entity-lists')">
{{ $t('resource.entities') }}
<span class="chip">{{ $t('common.new') }}</span>
</router-link>
</li>
<li v-if="canRoute(tabPath('users'))" :class="tabClass('users')"
Expand Down
4 changes: 2 additions & 2 deletions test/components/project/show.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ describe('ProjectShow', () => {
const li = app.findAll('#page-head-tabs li');
li.map(wrapper => wrapper.get('a').text()).should.eql([
'Overview',
'Entities New!',
'Entities',
'Project Roles',
'App Users',
'Form Access',
Expand All @@ -166,7 +166,7 @@ describe('ProjectShow', () => {
});
const li = app.findAll('#page-head-tabs li');
const text = li.map(wrapper => wrapper.get('a').text());
text.should.eql(['Overview', 'Entities New!']);
text.should.eql(['Overview', 'Entities']);
li[0].should.be.visible(true);
});
});
Expand Down

0 comments on commit 0da5498

Please sign in to comment.