Skip to content

Commit

Permalink
Limit profile name length to prevent file system level errors
Browse files Browse the repository at this point in the history
  • Loading branch information
VilppeRiskidev committed Oct 24, 2024
1 parent e1ed3b4 commit b9a041a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/profiles-modals/ImportProfileModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export default class ImportProfileModal extends mixins(ProfilesMixin) {
<template v-slot:body v-if="importUpdateSelection === 'CREATE'">
<p>This profile will store its own mods independently from other profiles.</p>
<br/>
<input class="input" v-model="targetProfileName" ref="profileNameInput" />
<input class="input" maxlength="100" v-model="targetProfileName" ref="profileNameInput" />
<br/><br/>
<span class="tag is-dark" v-if="makeProfileNameSafe(targetProfileName) === ''">
Profile name required
Expand Down

0 comments on commit b9a041a

Please sign in to comment.