Просмотр исходного кода

delete file and add gcContributors

ryohi15 5 лет назад
Родитель
Сommit
9982df46ce

+ 2 - 4
src/client/js/components/StaffCredit/StaffCredit.jsx

@@ -60,10 +60,8 @@ class StaffCredit extends React.Component {
 
   renderContributors() {
     if (this.state.isShown) {
-      contributors.splice(1, 0, cloudContributors.getContributors());
-      if (this.state.gcContributors !== {}) {
-        // TODO: merge gcContributors to Contributors
-        // refs: https://youtrack.weseek.co.jp/issue/GW-4573
+      if (this.state.gcContributors !== {} ) {
+        contributors.splice(1, 0, this.state.gcContributors);
       }
       const credit = contributors.map((contributor) => {
         // construct members elements

+ 0 - 42
src/client/js/components/StaffCredit/gcContributors.js

@@ -1,42 +0,0 @@
-const CONTRIBUTORS = {
-  sectionName: 'GROWI-cloud',
-  sectionOrder: '',
-  additionalClass: '',
-  memberGroups: [
-    {
-      additionalClass: 'col-md-3 baba my-4',
-      members: [
-        { name: 'yuki-takei' },
-        { name: 'TatsuyaIse' },
-        { name: 'Yohei-Shiina' },
-        { name: 'skomma' },
-        { name: 'haruhikonyan' },
-        { name: 'Shinichi Kondo' },
-        { name: 'ryu-sato' },
-        { name: 'kouki-o' },
-        { name: 'Takayuki Tamura' },
-        { name: 'itizawa' },
-        { name: 'Ryo Hitotsumatsu' },
-        { name: 'yamagai' },
-        { name: 'Kazuki-Honma' },
-        { name: 'kenta-o' },
-        { name: 'yoshiro-s' },
-        { name: 'keisuke uchida' },
-        { name: 'ukyo-i' },
-        { name: 'takahiro-k' },
-        { name: 'kauzki-f' },
-        { name: 'oshikishintaro' },
-        { name: 'shukmos' },
-      ],
-    },
-  ],
-};
-class StaffCreditService {
-
-  getContributors() {
-    return CONTRIBUTORS;
-  }
-
-}
-
-module.exports = new StaffCreditService();