Skip to content

Commit

Permalink
#1822 Change version number to instead be deployment date (#1797)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Kawalkowski authored Apr 3, 2024
1 parent 013303b commit 82669fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions canvas_modules/harness/src/client/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import PaletteBundles from "@elyra/canvas/locales/palette/locales";
import ToolbarBundles from "@elyra/canvas/locales/toolbar/locales";

import { CommonCanvas, CanvasController, CommonProperties, ColorPicker } from "common-canvas"; // eslint-disable-line import/no-unresolved
import CommonCanvasPackage from "@elyra/canvas/package.json";

import FlowsCanvas from "./components/custom-canvases/flows/flows-canvas";
import TablesCanvas from "./components/custom-canvases/tables/tables-canvas";
Expand Down Expand Up @@ -2417,13 +2416,15 @@ class App extends React.Component {
const apiLabel = "API";
const commonPropertiesModalLabel = "Common Properties Modal";
const commonCanvasLabel = "Common Canvas";
const todaysDate = new Date();
const todaysDateFormatted = "v13-" + todaysDate.toISOString().split("T")[0];

const navBar = (<div aria-label="Common Canvas Test Harness" role="banner">
<div className="harness-app-navbar">
<ul className="harness-app-navbar-items">
<li className="harness-navbar-li">
<span className="harness-title">Common Canvas</span>
<span className="harness-version">{"v" + CommonCanvasPackage.version}</span>
<span className="harness-version">{todaysDateFormatted}</span>
</li>
<li className="harness-navbar-li harness-nav-divider" data-tip={consoleLabel}>
<a onClick={this.openConsole.bind(this) }>
Expand Down

0 comments on commit 82669fa

Please sign in to comment.