You've already forked AstralRinth
forked from didirus/AstralRinth
handle edge case where versions have differing envs better + update changelog + lint
This commit is contained in:
@@ -755,7 +755,7 @@
|
||||
v-if="
|
||||
currentMember &&
|
||||
projectV3.side_types_migration_review_status === 'pending' &&
|
||||
projectV3.environment?.length > 0 &&
|
||||
projectV3.environment?.length === 1 &&
|
||||
projectV3.environment[0] !== 'unknown'
|
||||
"
|
||||
type="warning"
|
||||
|
||||
@@ -161,7 +161,7 @@ const messages = defineMessages({
|
||||
</template>
|
||||
</div>
|
||||
<UnsavedChangesPopup
|
||||
v-if="supportsEnvironment && hasPermission"
|
||||
v-if="supportsEnvironment && hasPermission && projectV3?.environment?.length <= 1"
|
||||
:original="saved"
|
||||
:modified="current"
|
||||
:saving="saving"
|
||||
|
||||
@@ -457,7 +457,8 @@ if (user.value?.projects) {
|
||||
user.value?.projectsV3?.forEach((project) => {
|
||||
if (
|
||||
project.side_types_migration_review_status === 'pending' &&
|
||||
(project.project_types.includes('mod') || project.project_types.includes('modpack'))
|
||||
(project.project_types.includes('mod') || project.project_types.includes('modpack')) &&
|
||||
project.environment?.length === 1
|
||||
) {
|
||||
projectsWithMigrationWarning.value.push(project.id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user