Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Commit 692f2f2

Browse files
Merge branch 'release-1.1.0' into bug/sc-390954/ide-intellij-ajuste-project-wizard-link-documentação
2 parents e0c5a33 + 14960ae commit 692f2f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/kotlin/com/stackspot/intellij/services/StackSpotToolWindowService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class StackSpotToolWindowService {
5353

5454
private fun reloadHistoryData() {
5555
val appliedTemplates = history?.appliedTemplates
56-
if (appliedTemplates != null) {
56+
if (!appliedTemplates.isNullOrEmpty()) {
5757
template = appliedTemplates.first()
5858
appliedPlugins = appliedTemplates.subList(1, appliedTemplates.size)
5959
}

src/main/kotlin/com/stackspot/model/Stackfile.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package com.stackspot.model
1919
data class Stackfile(
2020
val type: String,
2121
val description: String,
22-
val template: String,
22+
val template: String?,
2323
val inputs: Map<String, Any>? = null,
2424
val plugins: List<StackfilePlugin>? = null
2525
) {

0 commit comments

Comments
 (0)