fix checks

This commit is contained in:
Torsten Dittmann committed 2022-07-22 11:24:19 +02:00
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);
}