diff --git a/app/javascript/elapsed_days.vue b/app/javascript/elapsed_days.vue deleted file mode 100644 index 6a8f156caa0..00000000000 --- a/app/javascript/elapsed_days.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - diff --git a/app/javascript/products.js b/app/javascript/products.js index c5fca65084b..b92721d6e1b 100644 --- a/app/javascript/products.js +++ b/app/javascript/products.js @@ -7,20 +7,16 @@ document.addEventListener('DOMContentLoaded', () => { const products = document.querySelector(selector) if (products) { const title = products.getAttribute('data-title') - const selectedTab = products.getAttribute('data-selected-tab') const isMentor = products.getAttribute('data-mentor-login') const currentUserId = Number(products.getAttribute('data-current-user-id')) - const checkerId = products.getAttribute('data-checker-id') new Vue({ store, render: (h) => h(Products, { props: { title: title, - selectedTab: selectedTab, isMentor: isMentor === 'true', - currentUserId: currentUserId, - checkerId: checkerId + currentUserId: currentUserId } }) }).$mount(selector) diff --git a/app/javascript/products.vue b/app/javascript/products.vue index e7a710fa674..0aeb90fcbe7 100644 --- a/app/javascript/products.vue +++ b/app/javascript/products.vue @@ -1,10 +1,6 @@ diff --git a/app/javascript/unconfirmed_links_open_button.vue b/app/javascript/unconfirmed_links_open_button.vue deleted file mode 100644 index f207a73e2ba..00000000000 --- a/app/javascript/unconfirmed_links_open_button.vue +++ /dev/null @@ -1,27 +0,0 @@ - - diff --git a/app/views/home/_mentor_dashboard.html.slim b/app/views/home/_mentor_dashboard.html.slim index b52af0ef875..51ec79ecb38 100644 --- a/app/views/home/_mentor_dashboard.html.slim +++ b/app/views/home/_mentor_dashboard.html.slim @@ -9,7 +9,7 @@ h2.dashboard-category__title | 提出物状況 .dashboard-category__body - #js-products(data-title="#{title}" data-selected-tab="unassigned" data-mentor-login="#{mentor_login?}" data-current-user-id="#{current_user.id}") + #js-products(data-title="#{title}" data-mentor-login="#{mentor_login?}" data-current-user-id="#{current_user.id}") .dashboard-contents__col.is-main .dashboard-contents__categories .dashboard-category