Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing the Download button for the Model tab. #42

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

julianbollig
Copy link

No description provided.

@@ -288,6 +288,8 @@ function postImageToEnhance(imageUrl: string) {

function showDownloadModelConfirm(downList: DownloadModelParam[], success?: () => void, fail?: () => void) {
showDowloadDlg.value = true;
showSetting.value = false;
console.log(downList)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this? :)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The console log of course not. Showsetting.value = false is needed because otherwise the download dialog opens behind the settings which does not look very professional (and you have to close the settings anyways in order to interact with the download dialog).

@@ -57,7 +57,7 @@
-
</div>
</td>
<td class="flex flex-col items-center text-sm text-green-400">
<td class="items-center text-sm text-green-400">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was the styling changed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because the body of the last column of the download dialog was not aligned in the middle, which looked ugly (this can be seen when having a file name, e.g. most gguf files, which extends over two lines).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants