mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix checks
This commit is contained in:
1 parent
daf8eb8e4a
commit
b3798cb854
4 files changed
+5
-6
No files matched your search
@@ -165,7 +165,7 @@
|
||||
<p>
|
||||
Tip: Add role:all for wildcard access. Check out our documentation for more on <a
|
||||
class="link"
|
||||
href="#">
|
||||
href="#?">
|
||||
Permissions</a>
|
||||
</p>
|
||||
</Alert>
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
</svelte:fragment>
|
||||
<p>
|
||||
If you want to assign permissions specific to this file, you will need to
|
||||
update your <a class="link" href="#"> Bucket Settings</a> to enable File Level
|
||||
update your <a class="link" href="#?"> Bucket Settings</a> to enable File Level
|
||||
permissions.
|
||||
</p>
|
||||
</Alert>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
files.load(bucket, search, limit, offset);
|
||||
};
|
||||
|
||||
const deleteFile = async (file) => {
|
||||
const deleteFile = async (file: Models.File) => {
|
||||
try {
|
||||
await sdkForProject.storage.deleteFile(file.bucketId, file.$id);
|
||||
uploader.removeFile(file);
|
||||
|
||||
@@ -32,8 +32,7 @@ function createFilesStore() {
|
||||
limit?: number,
|
||||
offset?: number,
|
||||
cursor?: string,
|
||||
cursorDirection?: string,
|
||||
orderType?: 'DESC' | 'ASC'
|
||||
cursorDirection?: string
|
||||
) => {
|
||||
const response = await sdkForProject.storage.listFiles(
|
||||
bucketId,
|
||||
@@ -42,7 +41,7 @@ function createFilesStore() {
|
||||
offset,
|
||||
cursor,
|
||||
cursorDirection,
|
||||
(orderType = 'DESC')
|
||||
'DESC'
|
||||
);
|
||||
set(response);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user