0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Renamed the add name dialog to better suit including bio

This commit is contained in:
James Morris 2022-07-26 11:47:36 +01:00
parent b1e1d4e23b
commit 531e0036b2
3 changed files with 3 additions and 3 deletions

View file

@ -72,7 +72,7 @@ const Form = (props) => {
if (!memberName && !props.isEdit) {
editor.commands.blur();
dispatchAction('openPopup', {
type: 'addNameDialog',
type: 'addDetailsDialog',
callback: () => {
editor.commands.focus();
}

View file

@ -1,11 +1,11 @@
import AddNameDialog from './components/modals/AddNameDialog';
import AddDetailsDialog from './components/modals/AddDetailsDialog';
import ReportDialog from './components/modals/ReportDialog';
/** List of all available pages in Comments-UI, mapped to their UI component
* Any new page added to comments-ui needs to be mapped here
*/
const Pages = {
addNameDialog: AddNameDialog,
addDetailsDialog: AddDetailsDialog,
reportDialog: ReportDialog
};
export default Pages;