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