|
55 | 55 |
|
56 | 56 | <Container>
|
57 | 57 | {#if data.function.version === 'v2' && showAlert}
|
58 |
| - <Alert.Inline |
59 |
| - status="warning" |
60 |
| - dismissible |
61 |
| - class="u-margin-block-start-24" |
62 |
| - on:dismiss={() => (showAlert = false)}> |
63 |
| - <svelte:fragment slot="title">Your function is outdated</svelte:fragment> |
64 |
| - Update your function version to make use of new features including build commands and HTTP |
65 |
| - data in your executions. To update, follow the steps outlined in our |
66 |
| - <a |
67 |
| - href="https://appwrite.io/docs/products/functions/development" |
68 |
| - target="_blank" |
69 |
| - rel="noopener noreferrer" |
70 |
| - class="link">documentation</a |
71 |
| - >. |
72 |
| - <svelte:fragment slot="actions"> |
73 |
| - <Button |
74 |
| - on:click={() => |
75 |
| - trackEvent(Click.WebsiteOpenClick, { |
76 |
| - from: 'button', |
77 |
| - source: 'function_keys_card', |
78 |
| - destination: 'docs' |
79 |
| - })} |
| 58 | + <div class="u-margin-block-start-24"> |
| 59 | + <Alert.Inline status="warning" dismissible on:dismiss={() => (showAlert = false)}> |
| 60 | + <svelte:fragment slot="title">Your function is outdated</svelte:fragment> |
| 61 | + Update your function version to make use of new features including build commands and |
| 62 | + HTTP data in your executions. To update, follow the steps outlined in our |
| 63 | + <a |
80 | 64 | href="https://appwrite.io/docs/products/functions/development"
|
81 |
| - external |
82 |
| - text> |
83 |
| - Learn more |
84 |
| - </Button> |
85 |
| - </svelte:fragment> |
86 |
| - </Alert.Inline> |
| 65 | + target="_blank" |
| 66 | + rel="noopener noreferrer" |
| 67 | + class="link">documentation</a |
| 68 | + >. |
| 69 | + <svelte:fragment slot="actions"> |
| 70 | + <Button |
| 71 | + on:click={() => |
| 72 | + trackEvent(Click.WebsiteOpenClick, { |
| 73 | + from: 'button', |
| 74 | + source: 'function_keys_card', |
| 75 | + destination: 'docs' |
| 76 | + })} |
| 77 | + href="https://appwrite.io/docs/products/functions/development" |
| 78 | + external |
| 79 | + text> |
| 80 | + Learn more |
| 81 | + </Button> |
| 82 | + </svelte:fragment> |
| 83 | + </Alert.Inline> |
| 84 | + </div> |
87 | 85 | {/if}
|
88 | 86 | <ExecuteFunction />
|
89 | 87 | <UpdateName />
|
|
0 commit comments