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

changed order power / delete giving order to gccontributors

ryohi15 5 лет назад
Родитель
Сommit
f99178e9d5
2 измененных файлов с 2 добавлено и 4 удалено
  1. 2 2
      resource/Contributor.js
  2. 0 2
      src/server/routes/apiv3/staffs.js

+ 2 - 2
resource/Contributor.js

@@ -94,7 +94,7 @@ const contributors = [
     ],
   },
   {
-    order: 20,
+    order: 100,
     sectionName: 'VULNERABILITY HUNTER',
     additionalClass: '',
     memberGroups: [
@@ -114,7 +114,7 @@ const contributors = [
     ],
   },
   {
-    order: 30,
+    order: 200,
     sectionName: 'SPECIAL THANKS',
     additionalClass: '',
     memberGroups: [

+ 0 - 2
src/server/routes/apiv3/staffs.js

@@ -40,8 +40,6 @@ module.exports = (crowi) => {
         const gcContributorsRes = await axios.get(url.toString());
         if (gcContributors == null) {
           gcContributors = gcContributorsRes.data;
-          // Give order to gcContributors
-          gcContributors.order = 2;
           // merging contributors
           contributorsCache.push(gcContributors);
         }