mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 12:05:53 +00:00
add AI metadata checking to block image uploads with notice
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<Checkbox v-model="dontShowAgain" :label="formatMessage(messages.dontShowAgain)" />
|
||||
<Button type="colored" color="brand" native-type="button" @click="acknowledge">
|
||||
<CheckCircleIcon class="size-4" />
|
||||
{{ formatMessage(messages.iUnderstand) }}
|
||||
{{ formatMessage(commonMessages.iUnderstandButton) }}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,6 +37,7 @@ import { ref, useTemplateRef } from 'vue'
|
||||
import { Button } from '#ui/components/base/buttons'
|
||||
|
||||
import { defineMessages, useVIntl } from '../../composables/i18n'
|
||||
import { commonMessages } from '../../utils/common-messages'
|
||||
import Checkbox from '../base/Checkbox.vue'
|
||||
import NewModal from './NewModal.vue'
|
||||
|
||||
@@ -72,10 +73,6 @@ const messages = defineMessages({
|
||||
id: 'search.photosensitivity-warning-modal.dont-show-again',
|
||||
defaultMessage: "Don't show this again",
|
||||
},
|
||||
iUnderstand: {
|
||||
id: 'search.photosensitivity-warning-modal.i-understand',
|
||||
defaultMessage: 'I understand',
|
||||
},
|
||||
})
|
||||
|
||||
function show() {
|
||||
|
||||
Reference in New Issue
Block a user