mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
parent
58d9b8e382
commit
6462f8f2ab
3 changed files with 4 additions and 3 deletions
|
@ -623,7 +623,7 @@ const AddOfferModal = () => {
|
||||||
updateRoute('offers');
|
updateRoute('offers');
|
||||||
}}
|
}}
|
||||||
backDropClick={false}
|
backDropClick={false}
|
||||||
cancelLabel='Cancel'
|
cancelLabel='Close'
|
||||||
deviceSelector={false}
|
deviceSelector={false}
|
||||||
dirty={saveState === 'unsaved'}
|
dirty={saveState === 'unsaved'}
|
||||||
height='full'
|
height='full'
|
||||||
|
|
|
@ -254,6 +254,7 @@ const EditOfferModal: React.FC<{id: string}> = ({id}) => {
|
||||||
updateRoute('offers');
|
updateRoute('offers');
|
||||||
}}
|
}}
|
||||||
backDropClick={false}
|
backDropClick={false}
|
||||||
|
cancelLabel='Close'
|
||||||
deviceSelector={false}
|
deviceSelector={false}
|
||||||
dirty={saveState === 'unsaved'}
|
dirty={saveState === 'unsaved'}
|
||||||
height='full'
|
height='full'
|
||||||
|
|
|
@ -200,7 +200,7 @@ export const OffersIndexModal = () => {
|
||||||
const buttons: ButtonProps[] = [
|
const buttons: ButtonProps[] = [
|
||||||
{
|
{
|
||||||
key: 'cancel-modal',
|
key: 'cancel-modal',
|
||||||
label: 'Cancel',
|
label: 'Close',
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
modal.remove();
|
modal.remove();
|
||||||
updateRoute('offers');
|
updateRoute('offers');
|
||||||
|
@ -245,7 +245,7 @@ export const OffersIndexModal = () => {
|
||||||
</div>
|
</div>
|
||||||
<div className='mt-12 flex items-center justify-between border-b border-b-grey-300 pb-2.5 dark:border-b-grey-800'>
|
<div className='mt-12 flex items-center justify-between border-b border-b-grey-300 pb-2.5 dark:border-b-grey-800'>
|
||||||
<h1 className='text-3xl'>{offersTabs.find(tab => tab.id === selectedTab)?.title} offers</h1>
|
<h1 className='text-3xl'>{offersTabs.find(tab => tab.id === selectedTab)?.title} offers</h1>
|
||||||
<div className='-mr-3'>
|
<div>
|
||||||
<SortMenu
|
<SortMenu
|
||||||
direction={sortDirection as 'asc' | 'desc'}
|
direction={sortDirection as 'asc' | 'desc'}
|
||||||
items={[
|
items={[
|
||||||
|
|
Loading…
Add table
Reference in a new issue