-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: dev
Are you sure you want to change the base?
Conversation
Signed-off-by: julianbollig <[email protected]>
@@ -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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this? :)
There was a problem hiding this comment.
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"> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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).
No description provided.