Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix typo in css class name

Christophe Bliardb30575ffb175
diff --git a/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.component.sass b/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.component.sass
index c660167de70..37fc76dde6c 100644
--- a/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.component.sass
+++ b/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.component.sass
@@ -1,4 +1,4 @@
-.op-wp-embeded-graph
+.op-wp-embedded-graph
&.work-packages-embedded-view--container
height: 100%
max-height: 500px
diff --git a/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.html b/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.html
index f2abb4504c8..d0a2f4454de 100644
--- a/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.html
+++ b/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.html
@@ -1,4 +1,4 @@
-<div class="op-wp-embeded-graph work-packages-embedded-view--container loading-indicator--location" #graphContainer [ngStyle]="{height: chartHeight}">
+<div class="op-wp-embedded-graph work-packages-embedded-view--container loading-indicator--location" #graphContainer [ngStyle]="{height: chartHeight}">
<canvas baseChart
[datasets]="chartData"
[labels]="chartLabels"
diff --git a/spec/features/versions/graph_spec.rb b/spec/features/versions/graph_spec.rb
index 5c436cd554b..9d270cb2163 100644
--- a/spec/features/versions/graph_spec.rb
+++ b/spec/features/versions/graph_spec.rb
@@ -59,8 +59,8 @@ RSpec.describe "version show graph", :js do
def expect_work_packages_visible_in_graph
expect(page).to have_css(".work-packages-embedded-view--container", wait: 20)
- expect(page).to have_css(".op-wp-embeded-graph", visible: :all, wait: 20)
- canvas = find(".op-wp-embeded-graph canvas")
+ expect(page).to have_css(".op-wp-embedded-graph", visible: :all, wait: 20)
+ canvas = find(".op-wp-embedded-graph canvas")
expect(canvas.text).to eq("1 Control; 1 Subject under test")
end