From e5b8cde461bab9e2af3d5311e50b3143396f4f3e Mon Sep 17 00:00:00 2001 From: Ihsan Ullah Date: Thu, 25 May 2023 14:18:26 +0500 Subject: [PATCH 1/3] html comment fixed --- src/static/riot/datasets/management.tag | 2 +- src/static/riot/tasks/management.tag | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/static/riot/datasets/management.tag b/src/static/riot/datasets/management.tag index 8d3f55713..c892d8a40 100644 --- a/src/static/riot/datasets/management.tag +++ b/src/static/riot/datasets/management.tag @@ -75,7 +75,7 @@ + -------------------------------------->
- @@ -417,6 +418,8 @@ } self.toggle_is_public = () => { + console.log(self.selected_row.created_by) + console.log(CODALAB.state.user.username) let message = self.selected_row.is_public ? 'Are you sure you want to make this dataset private? It will no longer be available to other users.' : 'Are you sure you want to make this dataset public? It will become visible to everyone' From d6b8f54d5ef43710ee8b3122d05c6906f690fb8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Pav=C3=A3o?= Date: Thu, 25 May 2023 15:16:48 +0200 Subject: [PATCH 3/3] Remove console calls --- src/static/riot/datasets/management.tag | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/static/riot/datasets/management.tag b/src/static/riot/datasets/management.tag index 1e1bfb384..d437771e3 100644 --- a/src/static/riot/datasets/management.tag +++ b/src/static/riot/datasets/management.tag @@ -418,8 +418,6 @@ } self.toggle_is_public = () => { - console.log(self.selected_row.created_by) - console.log(CODALAB.state.user.username) let message = self.selected_row.is_public ? 'Are you sure you want to make this dataset private? It will no longer be available to other users.' : 'Are you sure you want to make this dataset public? It will become visible to everyone'