Skip to content

Commit

Permalink
Release/v1.0.2-223 preparation
Browse files Browse the repository at this point in the history
Signed-off-by: Uladzislau <[email protected]>
  • Loading branch information
KUGDev committed May 19, 2023
1 parent 78ba7aa commit 16b9840
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import com.intellij.openapi.application.PathManager
import com.intellij.openapi.application.PreloadingActivity
import com.intellij.openapi.components.impl.stores.IComponentStore
import com.intellij.openapi.components.service
import com.intellij.openapi.progress.ProgressIndicator
import org.zowe.explorer.config.connect.ConnectionConfig
import org.zowe.explorer.config.connect.CredentialService
import org.zowe.explorer.utils.crudable.nextUniqueValue
Expand Down Expand Up @@ -97,8 +96,9 @@ class ZoweOldConfigConvertPreloadingActivity : PreloadingActivity() {
}
}

override fun preload(indicator: ProgressIndicator) {
override suspend fun execute() {
convertOldVersionConfig()
super.execute()
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import org.zowe.explorer.explorer.ui.*
import org.zowe.explorer.utils.castOrNull
import org.zowe.explorer.utils.clone
import org.zowe.explorer.utils.crudable.getByUniqueKey
import org.zowe.explorer.utils.service
import org.zowe.kotlinsdk.*

/**
Expand Down Expand Up @@ -106,7 +107,7 @@ private fun doAllocateAction(e: AnActionEvent, initialState: DatasetAllocationPa
while (p !is DSMaskNode) {
p = p?.parent ?: break
}
val nodeToClean = p?.castOrNull<FileFetchNode<*,*,*,*,*>>()
val nodeToClean = p?.castOrNull<FileFetchNode<*, *, *, *, *>>()
nodeToClean?.let { cleanInvalidateOnExpand(nodeToClean, view) }

var nodeCleaned = false
Expand Down Expand Up @@ -259,8 +260,8 @@ class AllocateLikeAction : AnAction() {
}
val selected = view.mySelectedNodesData
e.presentation.isEnabledAndVisible = selected.size == 1
&& selected[0].attributes is RemoteDatasetAttributes
&& !(selected[0].attributes as RemoteDatasetAttributes).isMigrated
&& selected[0].attributes is RemoteDatasetAttributes
&& !(selected[0].attributes as RemoteDatasetAttributes).isMigrated
e.presentation.icon = IconUtil.addText(AllIcons.FileTypes.Any_type, "DS")
}

Expand Down

0 comments on commit 16b9840

Please sign in to comment.