This commit is contained in:
@@ -97,6 +97,7 @@ const categories = ref([]);
|
|||||||
const poisk = ref("");
|
const poisk = ref("");
|
||||||
const sources = ref([]);
|
const sources = ref([]);
|
||||||
|
|
||||||
|
|
||||||
const fetchCategories = async () => {
|
const fetchCategories = async () => {
|
||||||
try {
|
try {
|
||||||
const data = await axios.get(
|
const data = await axios.get(
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col sm:flex-row justify-between w-full lg:w-auto gap-2 p-2 bg-white shadow dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-600"
|
class="flex flex-col sm:flex-row justify-between w-full lg:w-auto gap-2 p-2 bg-white shadow dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-600"
|
||||||
|
:class="{ 'opacity-50': isStatus }"
|
||||||
>
|
>
|
||||||
<div class="">
|
<div class="">
|
||||||
<input
|
<input
|
||||||
@@ -54,6 +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 displayUrl = computed({
|
const displayUrl = computed({
|
||||||
get: () => props.source.url || "",
|
get: () => props.source.url || "",
|
||||||
|
|||||||
Reference in New Issue
Block a user