Skip to content

Commit 547565e

Browse files
committed
Remove filter option
1 parent a0d45a5 commit 547565e

5 files changed

Lines changed: 5 additions & 25 deletions

File tree

public/curation/click.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

public/curation/github_artifacts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ async function githubArtifacts() {
88
const token = localStorage.getItem("git-api-token");
99
if (!token) {
1010
alert("Please set up the GitLab connection first");
11-
window.location = "../git-login/";
11+
window.location = "./";
1212
return;
1313
}
1414
const owner = localStorage.getItem("owner");

public/curation/gitlab_artifacts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ async function gitlabArtifacts () {
77
const token = localStorage.getItem("git-api-token");
88
if (!token) {
99
alert("Please set up the GitLab connection first!");
10-
window.location = "../git-login/";
10+
window.location = "./";
1111
return;
1212
}
1313

public/git-login/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ window.onload = async function () {
9696
}
9797
}
9898

99-
const REDIRECT_URI = location.origin + location.pathname;
99+
const REDIRECT_URI = window.location.origin + window.location.pathname;
100100
const SCOPE_GL = "read_api";
101101
const SCOPE_GH = "read:user user:email repo";
102102

@@ -149,7 +149,7 @@ window.onload = async function () {
149149

150150
const auth_url = new URL("/login/oauth/authorize", base_url);
151151
auth_url.search = params.toString();
152-
console.debug("Authorize URL:", auth_url);
152+
console.log("Authorize URL:", auth_url);
153153
location.assign(auth_url.toString());
154154

155155
} else if (host == "gitlab") {
@@ -172,7 +172,7 @@ window.onload = async function () {
172172
});
173173

174174
const auth_url = buildUrl(base_url, "/oauth/authorize", params);
175-
console.debug("Authorize URL:", auth_url);
175+
console.log("Authorize URL:", auth_url);
176176
location.assign(auth_url);
177177
}
178178
}

public/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ button:disabled {
189189
/* The search field */
190190
#myInput {
191191
box-sizing: border-box;
192-
background-image: url('searchicon.png');
193192
background-position: 14px 12px;
194193
background-repeat: no-repeat;
195194
font-size: 16px;

0 commit comments

Comments
 (0)