Add label appeal tool to posts and accounts (#2124)

* Add label appeal tool to posts and accounts

* Fix translations
This commit is contained in:
Paul Frazee 2023-12-07 14:45:50 -08:00 committed by GitHub
parent 794015aef8
commit 52a0cb8fac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 846 additions and 380 deletions

View file

@ -22,6 +22,7 @@ import * as ListAddUserModal from './ListAddRemoveUsers'
import * as AltImageModal from './AltImage'
import * as EditImageModal from './AltImage'
import * as ReportModal from './report/Modal'
import * as AppealLabelModal from './AppealLabel'
import * as DeleteAccountModal from './DeleteAccount'
import * as ChangeHandleModal from './ChangeHandle'
import * as WaitlistModal from './Waitlist'
@ -105,6 +106,9 @@ export function ModalsContainer() {
} else if (activeModal?.name === 'report') {
snapPoints = ReportModal.snapPoints
element = <ReportModal.Component {...activeModal} />
} else if (activeModal?.name === 'appeal-label') {
snapPoints = AppealLabelModal.snapPoints
element = <AppealLabelModal.Component {...activeModal} />
} else if (activeModal?.name === 'create-or-edit-list') {
snapPoints = CreateOrEditListModal.snapPoints
element = <CreateOrEditListModal.Component {...activeModal} />