2 Achegas 85bed2bea5 ... 36ea7f20f3

Autor SHA1 Mensaxe Data
  lisiyan 36ea7f20f3 fix:三轮测试bug修复 hai 6 meses
  lisiyan 85bed2bea5 fix:三轮测试bug修复 hai 6 meses
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      src/views/SamlSetting.vue

+ 5 - 1
src/views/SamlSetting.vue

@@ -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>