There was an error while loading. Please reload this page.
1 parent ea03306 commit d6fc63dCopy full SHA for d6fc63d
1 file changed
src/features/amUI/settings/SettingsModal.tsx
@@ -9,7 +9,6 @@ import {
9
DsSpinner,
10
} from '@altinn/altinn-components';
11
import {
12
- Address,
13
NotificationAddress,
14
useGetOrgNotificationAddressesQuery,
15
} from '@/rtk/features/settingsApi';
@@ -198,7 +197,7 @@ export const SettingsModal = ({
198
197
variant='secondary'
199
onClick={closeModal}
200
>
201
- {t('common.cancel')}
+ {isChanges ? t('common.cancel') : t('common.close')}
202
</DsButton>
203
</div>
204
0 commit comments