[go: up one dir, main page]

Skip to content

Update prop value to use constants

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Let's move the prop value for the commit-message into a constant.js and use that constant instead. Second, let's update the respective specs to use that constants.

<upload-blob-modal
  :commit-message="__('Upload New File')" // Change to constant
/>
<new-directory-modal
  :commit-message="__('Add new directory')" // Change to constant
/>

More Info

The following discussion from !71154 (merged) should be addressed:

Edited by 🤖 GitLab Bot 🤖