We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af5adfd commit 55bc476Copy full SHA for 55bc476
1 file changed
src/lib/layout/shell.svelte
@@ -124,11 +124,12 @@
124
125
const progressCard = function getProgressCard() {
126
if (selectedProject && !hasOnboardingDismissed(selectedProject.$id, $user)) {
127
+ const { platforms, pingCount } = selectedProject;
128
let percentage = 33;
129
- if (selectedProject.platforms.length > 0 && selectedProject.pingCount === 0) {
130
+ if (platforms.length > 0 && pingCount === 0) {
131
percentage = 66;
- } else if (selectedProject.pingCount > 0) {
132
+ } else if (pingCount > 0) {
133
percentage = 100;
134
}
135
0 commit comments