From f486359cc577438eaba05dbb37b703293ddd2cb1 Mon Sep 17 00:00:00 2001 From: naokinaokiboo Date: Mon, 15 Apr 2024 17:22:30 +0900 Subject: [PATCH] =?UTF-8?q?products.vue=E3=81=AE=E4=B8=8D=E8=A6=81?= =?UTF-8?q?=E3=82=B3=E3=83=BC=E3=83=89=E3=81=AE=E5=89=8A=E9=99=A4=E3=83=BB?= =?UTF-8?q?=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit unconfirmed_links_open_button.vueを参照していたが、 既にReactに置き換えられており使用されていないため。 --- app/javascript/products.js | 6 +- app/javascript/products.vue | 191 ++------------------- app/views/home/_mentor_dashboard.html.slim | 2 +- 3 files changed, 12 insertions(+), 187 deletions(-) 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 @@