fix optional parameter in SkPatternText
This commit is contained in:
parent
ae9c21e322
commit
24e14c78fd
1 changed files with 2 additions and 2 deletions
|
|
@ -31,14 +31,14 @@ import { parseMutes } from '@/utility/parse-mutes.js';
|
|||
import { getMutedWords } from '@/utility/check-word-mute.js';
|
||||
|
||||
const props = defineProps<{
|
||||
mutedWords?: string | null,
|
||||
mutedWords: string,
|
||||
}>();
|
||||
|
||||
const testWords = ref<string | null>(null);
|
||||
const testMatches = ref<string | null>(null);
|
||||
|
||||
function testWordMutes() {
|
||||
if (!testWords.value || !props.mutedWords) {
|
||||
if (!testWords.value) {
|
||||
testMatches.value = null;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue