Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions static/lib/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function init() {
switch (action) {
case 'new': {
const title = 'New OAuth2 Strategy';
const message = await app.parseAndTranslate('partials/edit-oauth2-strategy', {});
const message = await render('partials/edit-oauth2-strategy', {});
confirm({
title,
message,
Expand All @@ -33,7 +33,7 @@ export function init() {
const name = subselector.closest('[data-name]').getAttribute('data-name');
const { strategy } = await get(`/plugins/oauth2-multiple/strategies/${name}`);
const title = 'Edit OAuth2 Strategy';
const message = await app.parseAndTranslate('partials/edit-oauth2-strategy', { ...strategy });
const message = await render('partials/edit-oauth2-strategy', { ...strategy });
confirm({
title,
message,
Expand Down