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

Revert "Attempt to load the primer_view_component.js"

Henriette Darge61e7c53ce2ad
diff --git a/app/views/my/settings.html.erb b/app/views/my/settings.html.erb
index 019884236e9..6662fa901d4 100644
--- a/app/views/my/settings.html.erb
+++ b/app/views/my/settings.html.erb
@@ -42,5 +42,4 @@ See COPYRIGHT and LICENSE files for more details.
</fieldset>
<%= call_hook(:view_my_settings, user: @user, form: f) %>
<%= styled_button_tag t(:button_save), class: '-highlight -with-icon icon-checkmark' %>
-<%= render(Primer::Beta::ClipboardCopy.new(value: 'COPY ME', "aria-label": 'TEST')) %>
<% end %>
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
index c62c1c0d1c7..3f68c893d43 100644
--- a/config/initializers/assets.rb
+++ b/config/initializers/assets.rb
@@ -3,6 +3,5 @@ OpenProject::Application.configure do
favicon.ico
locales/*.js
openapi-explorer.min.js
- @primer/view-components/app/assets/javascripts/primer_view_components.js
)
end
diff --git a/frontend/src/app/core/setup/init-vendors.ts b/frontend/src/app/core/setup/init-vendors.ts
index f1e277e9fd6..34798453595 100644
--- a/frontend/src/app/core/setup/init-vendors.ts
+++ b/frontend/src/app/core/setup/init-vendors.ts
@@ -70,5 +70,3 @@ require('expose-loader?I18n!core-vendor/i18n');
// Localization for fullcalendar
require('@fullcalendar/core/locales-all');
-
-require('@primer/view-components/app/assets/javascripts/primer_view_components.js');