IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
소스 검색

Extended the no default tab effect to All Projects view.

master
부모
커밋
c1250d77cc
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      frontend/src/js/page/wb-browse.js

+ 3
- 3
frontend/src/js/page/wb-browse.js 파일 보기

@@ -173,7 +173,7 @@ class WBBrowse extends Component {
};
const { currentUser } = app.state;
const atHome = (ownerUuid === currentUser.uuid);
const noDefaultTab = (!ownerUuid || ownerUuid === currentUser.uuid);
return (
<div>
@@ -209,7 +209,7 @@ class WBBrowse extends Component {
{ (mode !== 'browse') ? null : (
<WBTabs tabs={ [
{ 'id': 'collection', 'name': 'Collections', 'isActive': ((!objTypeTab && !atHome) || objTypeTab === 'collection') },
{ 'id': 'collection', 'name': 'Collections', 'isActive': ((!objTypeTab && !noDefaultTab) || objTypeTab === 'collection') },
{ 'id': 'process', 'name': 'Processes', 'isActive': (objTypeTab === 'process') },
{ 'id': 'workflow', 'name': 'Workflows', 'isActive': (objTypeTab === 'workflow') } ] }
onTabChanged={ tab => this.route({ 'objTypeTab': tab['id'] }) } />
@@ -217,7 +217,7 @@ class WBBrowse extends Component {
{
(mode !== 'browse') ? null :
((!objTypeTab && !atHome) || objTypeTab === 'collection') ? (
((!objTypeTab && !noDefaultTab) || objTypeTab === 'collection') ? (
<WBCollectionListing
itemsPerPage="20"
activePage={ Number(collectionPage || 0) }


불러오는 중...
취소
저장