Get Public Link shows an empty cell

Description

When a big file is uploaded, it takes few seconds for the Public Links to be generated. During this course of time, if the user tries to get the public link, the Copy Public Link dialog shows an empty input field as shown in this screenshot. When we click on it, nothing gets copied and the clipboard still has previous copied text.

Steps to reproduce:
1. On community-release, upload a huge file (>50M).
2. Once the file is uploaded, click on the file and try to get the Public Link.
3. As shown in this screenshot, it shows empty cell.
Expected: A loading indicator should be shown if it takes time to generate the public link

QA Test Steps

None

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

Rohitesh Gupta

Epic Link

None

Fix versions

Mattermost Team

Sustained Engineering

Sprint

None

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None

Severity

None
Configure