Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
9d9948ff
Commit
9d9948ff
authored
5 years ago
by
Guillaume Heurtier
Browse files
Options
Downloads
Patches
Plain Diff
FEAT #12091 TIME 0:30 refactor new attachment version button disabled condition
parent
bb1fa936
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/frontend/app/attachments/attachments-page/attachment-page.component.ts
+1
-8
1 addition, 8 deletions
...attachments/attachments-page/attachment-page.component.ts
with
1 addition
and
8 deletions
src/frontend/app/attachments/attachments-page/attachment-page.component.ts
+
1
−
8
View file @
9d9948ff
...
...
@@ -357,15 +357,8 @@ export class AttachmentPageComponent implements OnInit {
if
(
this
.
functions
.
empty
(
this
.
appAttachmentViewer
))
{
return
false
;
}
if
(
this
.
appAttachmentViewer
.
editor
.
async
)
{
return
this
.
appAttachmentViewer
.
isEditingTemplate
();
}
if
(
this
.
appAttachmentViewer
.
isEditingTemplate
())
{
return
this
.
appAttachmentViewer
.
isEditorLoaded
()
}
return
false
;
return
this
.
appAttachmentViewer
.
isEditorLoaded
()
;
}
closeModal
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment