We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0724d5 commit af5adfdCopy full SHA for af5adfd
src/lib/layout/shell.svelte
@@ -124,9 +124,17 @@
124
125
const progressCard = function getProgressCard() {
126
if (selectedProject && !hasOnboardingDismissed(selectedProject.$id, $user)) {
127
+ let percentage = 33;
128
+
129
+ if (selectedProject.platforms.length > 0 && selectedProject.pingCount === 0) {
130
+ percentage = 66;
131
+ } else if (selectedProject.pingCount > 0) {
132
+ percentage = 100;
133
+ }
134
135
return {
136
title: 'Get started',
- percentage: selectedProject && selectedProject.platforms.length ? 100 : 33
137
+ percentage
138
};
139
}
140
0 commit comments