Skip to content

Commit

Permalink
The version value should not be in the settings
Browse files Browse the repository at this point in the history
  • Loading branch information
retifrav committed Nov 19, 2024
1 parent 916dacc commit 9746149
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import * as functions from "./functions.js";
import * as folder from "./folder.js";
import * as search from "./search.js";

const guiVersion: string = "0.5.0";

type QueueItem = {
"dtAdded": Date,
"operationType": string,
Expand All @@ -21,7 +23,7 @@ const rcloneOS: HTMLSpanElement =
document.getElementById("rcloneOS") as HTMLSpanElement;
const rcloneVersion: HTMLSpanElement =
document.getElementById("rcloneVersion") as HTMLSpanElement;
const guiVersion: HTMLSpanElement =
const guiVersionSpan: HTMLSpanElement =
document.getElementById("guiVersion") as HTMLSpanElement;

const btnSettings: HTMLButtonElement =
Expand Down Expand Up @@ -130,7 +132,7 @@ window.onload = () =>
{
rcloneOS.textContent = rez["os"].concat(" (", rez["arch"], ")");
rcloneVersion.textContent = rez["version"];
guiVersion.textContent = settings.guiVersion;
guiVersionSpan.textContent = guiVersion;
}
);

Expand Down
2 changes: 0 additions & 2 deletions src/settings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
export const guiVersion: string = "0.4.0";

type RcloneSettings = {
host: string,
user: string | null,
Expand Down

0 comments on commit 9746149

Please sign in to comment.