This commit is contained in:
@@ -47,7 +47,7 @@ const props = defineProps({
|
||||
source: {
|
||||
type: Object,
|
||||
required: true,
|
||||
default: () => ({ url: "", promt: "" }),
|
||||
default: () => ({ url: "", promt: "", status: false}),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -55,7 +55,7 @@ const emit = defineEmits(["sourceStarted", "sourceDeleted"]);
|
||||
|
||||
const isLoading = ref(false);
|
||||
const isDeleting = ref(false);
|
||||
const isStatus = ref(!props.source.promt);
|
||||
const isStatus = ref(props.source.status);
|
||||
|
||||
const displayUrl = computed({
|
||||
get: () => props.source.url || "",
|
||||
|
||||
Reference in New Issue
Block a user