|
@@ -900,7 +900,11 @@ const openSelectDialog = () => {
|
|
|
Add Domain
|
|
|
</div>
|
|
|
<span class="text-[#D9D9D9]">丨</span>
|
|
|
- <div v-if="Number(scope.row.sync?.status) === 1 || Number(scope.row.sync?.status) === 2" class="h-20px rounded-4px text-center text-14px leading-20px text-[#1460F3] cursor-pointer hover:text-[#0C3A92]"
|
|
|
+ <div v-if="!scope.row.domains.length" class="h-20px rounded-4px text-center text-14px leading-20px text-[#1460F3] cursor-pointer hover:text-[#0C3A92]"
|
|
|
+ @click="openSync(scope.row.domains.length), directoryId = scope.row.directoryId, formData.appId = scope.row.applicationId, formData.directoryId = scope.row.tenantId, formData.secret = scope.row.clientSecrets, isCreate = true">
|
|
|
+ Add Sync
|
|
|
+ </div>
|
|
|
+ <div v-else-if="Number(scope.row.sync?.status) === 1 || Number(scope.row.sync?.status) === 2" class="h-20px rounded-4px text-center text-14px leading-20px text-[#1460F3] cursor-pointer hover:text-[#0C3A92]"
|
|
|
@click="setFrequency = true, directoryId = scope.row.directoryId, daySync(scope.row.scheduleSetting)">
|
|
|
Synchronize
|
|
|
</div>
|